Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001115/0.001115, allocations: 176.2 kB / 377.1 MB, free: 1.531 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.863/1.863, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0009177/0.0009176, allocations: 93.89 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003497, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.769/1.057, allocations: 169.3 MB / 1.154 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.058, allocations: 101.5 kB / 1.154 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04605/1.104, allocations: 19.37 MB / 1.173 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.823e-06/1.104, allocations: 0 / 1.173 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.103e-05/1.104, allocations: 4 kB / 1.173 GB, free: 9.766 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001054/1.105, allocations: 0.5665 MB / 1.173 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.105, allocations: 12.03 kB / 1.173 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/1.106, allocations: 105.6 kB / 1.173 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/1.106, allocations: 284.7 kB / 1.174 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/1.106, allocations: 16.56 kB / 1.174 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/1.106, allocations: 35.81 kB / 1.174 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/1.107, allocations: 440.6 kB / 1.174 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.107, allocations: 0 / 1.174 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/1.107, allocations: 8 kB / 1.174 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/1.107, allocations: 28.55 kB / 1.174 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/1.108, allocations: 345.9 kB / 1.174 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/1.11, allocations: 2.21 MB / 1.177 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/1.111, allocations: 268 kB / 1.177 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/1.111, allocations: 4.188 kB / 1.177 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/1.111, allocations: 30.75 kB / 1.177 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/1.111, allocations: 0 / 1.177 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001819/1.113, allocations: 1.051 MB / 1.178 GB, free: 4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/1.113, allocations: 59.39 kB / 1.178 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/1.113, allocations: 220.1 kB / 1.178 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/1.113, allocations: 33.7 kB / 1.178 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/1.113, allocations: 187.9 kB / 1.178 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/1.113, allocations: 86.73 kB / 1.178 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/1.113, allocations: 8 kB / 1.179 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.113, allocations: 338.8 kB / 1.179 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/1.114, allocations: 147.9 kB / 1.179 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/1.114, allocations: 237.2 kB / 1.179 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/1.114, allocations: 186.7 kB / 1.179 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.114, allocations: 0 / 1.179 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001088/1.115, allocations: 0.5682 MB / 1.18 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.115, allocations: 12.03 kB / 1.18 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.115, allocations: 7.938 kB / 1.18 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/1.116, allocations: 184.6 kB / 1.18 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/1.116, allocations: 59.89 kB / 1.18 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/1.119, allocations: 2.341 MB / 1.182 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/1.12, allocations: 16.02 kB / 1.182 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/1.12, allocations: 19.98 kB / 1.182 GB, free: 15.11 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002387/1.12, allocations: 165.8 kB / 1.183 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/1.12, allocations: 23.72 kB / 1.183 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/1.12, allocations: 353.3 kB / 1.183 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.12, allocations: 4 kB / 1.183 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.12, allocations: 3.953 kB / 1.183 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.12, allocations: 0 / 1.183 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/1.122, allocations: 0.8036 MB / 1.184 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.122, allocations: 0 / 1.184 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/1.122, allocations: 75.88 kB / 1.184 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.122, allocations: 4 kB / 1.184 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/1.122, allocations: 11.95 kB / 1.184 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/1.122, allocations: 0.625 kB / 1.184 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.122, allocations: 0 / 1.184 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000786/1.123, allocations: 0.6389 MB / 1.185 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/1.123, allocations: 124.9 kB / 1.185 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/1.123, allocations: 11.98 kB / 1.185 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/1.123, allocations: 13.42 kB / 1.185 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/1.123, allocations: 19.97 kB / 1.185 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/1.123, allocations: 8 kB / 1.185 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000172/1.124, allocations: 176.5 kB / 1.185 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.6e-07/1.124, allocations: 0 / 1.185 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004651/1.124, allocations: 103.9 kB / 1.185 GB, free: 12.47 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001919/1.124, allocations: 131 kB / 1.185 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008963/1.125, allocations: 0.5275 MB / 1.186 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.125, allocations: 3.938 kB / 1.186 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/1.125, allocations: 151.8 kB / 1.186 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/1.126, allocations: 45.48 kB / 1.186 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/1.127, allocations: 0.9941 MB / 1.187 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/1.128, allocations: 0.8028 MB / 1.188 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002209/1.128, allocations: 74.91 kB / 1.188 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/1.128, allocations: 27.42 kB / 1.188 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/1.128, allocations: 0 / 1.188 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of Templates: time 0.007679/1.136, allocations: 3.638 MB / 1.191 GB, free: 6.074 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)