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.675/1.675, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001327/0.001327, allocations: 189 kB / 377.1 MB, free: 1.527 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.757/1.757, allocations: 205.4 MB / 0.6367 GB, free: 8.52 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.000948/0.0009478, allocations: 106.5 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 8 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3086, allocations: 116.3 MB / 0.9884 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9403/1.249, allocations: 161 MB / 1.146 GB, free: 18.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/1.249, allocations: 100.3 kB / 1.146 GB, free: 18.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04276/1.292, allocations: 17.1 MB / 1.162 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.285e-06/1.292, allocations: 4 kB / 1.162 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.689e-05/1.292, allocations: 4 kB / 1.162 GB, free: 4.289 MB / 0.7292 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.001344/1.294, allocations: 0.6347 MB / 1.163 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/1.294, allocations: 15.91 kB / 1.163 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008255/1.295, allocations: 101.6 kB / 1.163 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/1.295, allocations: 275.2 kB / 1.163 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/1.295, allocations: 24.42 kB / 1.163 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/1.295, allocations: 19.44 kB / 1.163 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/1.296, allocations: 422.5 kB / 1.164 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/1.296, allocations: 3.906 kB / 1.164 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/1.296, allocations: 12 kB / 1.164 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/1.296, allocations: 20.36 kB / 1.164 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/1.297, allocations: 420.7 kB / 1.164 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/1.299, allocations: 1.65 MB / 1.166 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.3, allocations: 497 kB / 1.166 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/1.3, allocations: 98.3 kB / 1.166 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005964/1.3, allocations: 274.5 kB / 1.167 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.724e-06/1.3, allocations: 0 / 1.167 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001927/1.302, allocations: 0.7752 MB / 1.167 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/1.302, allocations: 81.11 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/1.303, allocations: 200.2 kB / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/1.303, allocations: 33.7 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/1.303, allocations: 168.2 kB / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/1.303, allocations: 102.6 kB / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/1.303, allocations: 8 kB / 1.168 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.303, allocations: 334.8 kB / 1.168 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/1.304, allocations: 176.2 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/1.304, allocations: 261.1 kB / 1.169 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/1.305, allocations: 235 kB / 1.169 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.305, allocations: 0 / 1.169 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001184/1.306, allocations: 0.5561 MB / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005443/1.306, allocations: 0.906 MB / 1.17 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.306, allocations: 7.922 kB / 1.17 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/1.307, allocations: 36.83 kB / 1.17 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/1.307, allocations: 95.86 kB / 1.171 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/1.309, allocations: 1.499 MB / 1.172 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/1.309, allocations: 51.8 kB / 1.172 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/1.309, allocations: 15.98 kB / 1.172 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.309, allocations: 4 kB / 1.172 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/1.311, allocations: 0.5051 MB / 1.173 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.311, allocations: 5.312 kB / 1.173 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/1.311, allocations: 41.16 kB / 1.173 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/1.311, allocations: 91.91 kB / 1.173 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/1.312, allocations: 1.501 MB / 1.174 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/1.313, allocations: 43.81 kB / 1.174 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.313, allocations: 19.98 kB / 1.174 GB, free: 7.383 MB / 0.7448 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 () * Number of clocked 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.0003367/1.313, allocations: 238.4 kB / 1.174 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/1.313, allocations: 31.73 kB / 1.174 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/1.314, allocations: 485.2 kB / 1.175 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.314, allocations: 4 kB / 1.175 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.314, allocations: 4 kB / 1.175 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.314, allocations: 7.984 kB / 1.175 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008047/1.315, allocations: 0.5661 MB / 1.176 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.315, allocations: 3.938 kB / 1.176 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/1.316, allocations: 80.83 kB / 1.176 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/1.316, allocations: 44.81 kB / 1.176 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/1.316, allocations: 0 / 1.176 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/1.317, allocations: 1.431 MB / 1.177 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.317, allocations: 1.312 kB / 1.177 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/1.318, allocations: 0.5972 MB / 1.178 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/1.318, allocations: 136.6 kB / 1.178 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/1.318, allocations: 8 kB / 1.178 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/1.319, allocations: 47.94 kB / 1.178 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/1.319, allocations: 31.89 kB / 1.178 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/1.319, allocations: 12 kB / 1.178 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001543/1.319, allocations: 164.5 kB / 1.178 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.11e-07/1.319, allocations: 0 / 1.178 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006486/1.32, allocations: 144 kB / 1.178 GB, free: 3.094 MB / 0.7448 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) * Number of clocked states: 0 () * 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.0002346/1.32, allocations: 131.1 kB / 1.178 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.322, allocations: 1.009 MB / 1.179 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.322, allocations: 0 / 1.179 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000635/1.323, allocations: 347.3 kB / 1.18 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/1.323, allocations: 45.8 kB / 1.18 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/1.324, allocations: 0.7462 MB / 1.18 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/1.325, allocations: 0.7917 MB / 1.181 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003137/1.325, allocations: 98.41 kB / 1.181 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/1.325, allocations: 27.44 kB / 1.181 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/1.325, allocations: 0 / 1.181 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of Templates: time 0.008409/1.334, allocations: 4.028 MB / 1.185 GB, free: 11.8 MB / 0.7605 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)