Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.547/1.547, allocations: 289.9 MB / 297.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 176.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.3 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008578/0.000858, allocations: 97.88 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.244e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6936, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.9012, allocations: 160.2 MB / 1.13 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.9016, allocations: 95.94 kB / 1.13 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04306/0.9447, allocations: 16.93 MB / 1.146 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9447, allocations: 4 kB / 1.146 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.518e-05/0.9448, allocations: 4 kB / 1.146 GB, free: 4.805 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001322/0.9461, allocations: 0.6093 MB / 1.147 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.9461, allocations: 8.031 kB / 1.147 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.9471, allocations: 95.53 kB / 1.147 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.9476, allocations: 293.4 kB / 1.147 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.9476, allocations: 7.984 kB / 1.147 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.9477, allocations: 12 kB / 1.147 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004641/0.9482, allocations: 251.2 kB / 1.148 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.9487, allocations: 345.8 kB / 1.148 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.9487, allocations: 3.938 kB / 1.148 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.9488, allocations: 0 / 1.148 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.9488, allocations: 20.36 kB / 1.148 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.9509, allocations: 1.599 MB / 1.15 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.9517, allocations: 381.4 kB / 1.15 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.9519, allocations: 153.7 kB / 1.15 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.9521, allocations: 97.08 kB / 1.15 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003447/0.9525, allocations: 216 kB / 1.15 GB, free: 464 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.763e-06/0.9525, allocations: 0 / 1.15 GB, free: 464 kB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009977/0.9535, allocations: 430.7 kB / 1.151 GB, free: 24 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.9536, allocations: 85.2 kB / 1.151 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.9538, allocations: 183.2 kB / 1.151 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.9538, allocations: 29.7 kB / 1.151 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.954, allocations: 168 kB / 1.151 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/0.9541, allocations: 90.66 kB / 1.151 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.9541, allocations: 0 / 1.151 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9542, allocations: 330.8 kB / 1.152 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.9544, allocations: 128.3 kB / 1.152 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.9547, allocations: 201.4 kB / 1.152 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.955, allocations: 156.1 kB / 1.152 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.955, allocations: 4 kB / 1.152 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007522/0.9557, allocations: 427.5 kB / 1.152 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.9561, allocations: 0.9007 MB / 1.153 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.9562, allocations: 8 kB / 1.153 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.9564, allocations: 36.83 kB / 1.153 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.9568, allocations: 91.91 kB / 1.153 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.9581, allocations: 1.435 MB / 1.155 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.9585, allocations: 52.42 kB / 1.155 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.9585, allocations: 15.98 kB / 1.155 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.9586, allocations: 4 kB / 1.155 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006681/0.9592, allocations: 360.4 kB / 1.155 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9593, allocations: 4 kB / 1.155 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.9594, allocations: 45.09 kB / 1.155 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.9598, allocations: 87.83 kB / 1.155 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.9609, allocations: 1.428 MB / 1.157 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.9612, allocations: 47.89 kB / 1.157 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.9613, allocations: 8 kB / 1.157 GB, free: 9.355 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.9614, allocations: 124.9 kB / 1.157 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.9615, allocations: 23.72 kB / 1.157 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/0.9622, allocations: 385.8 kB / 1.157 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.9622, allocations: 4 kB / 1.157 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.9622, allocations: 4 kB / 1.157 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9622, allocations: 0 / 1.157 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.9629, allocations: 0.5159 MB / 1.158 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9629, allocations: 0 / 1.158 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.9633, allocations: 87.95 kB / 1.158 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.9634, allocations: 32.83 kB / 1.158 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.9635, allocations: 5.312 kB / 1.158 GB, free: 8.117 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.9645, allocations: 1.356 MB / 1.159 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.9645, allocations: 6.594 kB / 1.159 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.9652, allocations: 495.7 kB / 1.16 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.9653, allocations: 140.7 kB / 1.16 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.9654, allocations: 0 / 1.16 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.9657, allocations: 43.91 kB / 1.16 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.975e-05/0.9658, allocations: 31.95 kB / 1.16 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.9659, allocations: 11.98 kB / 1.16 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001356/0.966, allocations: 160.5 kB / 1.16 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.21e-07/0.966, allocations: 0 / 1.16 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006153/0.9666, allocations: 123.9 kB / 1.16 GB, free: 5.598 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002167/0.9669, allocations: 119.2 kB / 1.16 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.9681, allocations: 0.8272 MB / 1.161 GB, free: 4.598 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9681, allocations: 0 / 1.161 GB, free: 4.598 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.9686, allocations: 278.8 kB / 1.161 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.969, allocations: 43.84 kB / 1.162 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.97, allocations: 452.5 kB / 1.162 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.9704, allocations: 0.7963 MB / 1.163 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003566/0.9708, allocations: 99.47 kB / 1.163 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.9709, allocations: 25.22 kB / 1.163 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.9709, allocations: 0 / 1.163 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of Templates: time 0.008604/0.9795, allocations: 4.102 MB / 1.167 GB, free: 14.85 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)