Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 190.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.663/1.663, allocations: 251.7 MB / 0.5089 GB, free: 3.34 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 63.91 kB / 0.6218 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6566/0.6581, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004687/0.6628, allocations: 3.31 MB / 0.7272 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.6657, allocations: 1.851 MB / 0.729 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.6658, allocations: 4 kB / 0.729 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.6667, allocations: 281.7 kB / 0.7293 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.6672, allocations: 191.2 kB / 0.7295 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.6678, allocations: 263.5 kB / 0.7297 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.6682, allocations: 410.7 kB / 0.7301 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.6686, allocations: 230.2 kB / 0.7304 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.6688, allocations: 167.4 kB / 0.7305 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.6692, allocations: 207.3 kB / 0.7307 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.6692, allocations: 24 kB / 0.7307 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.6696, allocations: 231.5 kB / 0.731 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.6697, allocations: 119.7 kB / 0.7311 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.6698, allocations: 151.3 kB / 0.7312 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.6703, allocations: 490.4 kB / 0.7317 GB, free: 5.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6703, allocations: 0 / 0.7317 GB, free: 5.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6703, allocations: 0 / 0.7317 GB, free: 5.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6704, allocations: 0 / 0.7317 GB, free: 5.219 MB / 0.545 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.001038/0.6714, allocations: 0.5888 MB / 0.7323 GB, free: 4.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.6714, allocations: 8.031 kB / 0.7323 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.6722, allocations: 88.47 kB / 0.7324 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.6725, allocations: 281.1 kB / 0.7326 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.6725, allocations: 20.94 kB / 0.7326 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.6726, allocations: 36.64 kB / 0.7327 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.6733, allocations: 445.1 kB / 0.7331 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.6733, allocations: 3.938 kB / 0.7331 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.6733, allocations: 19.92 kB / 0.7331 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.6735, allocations: 36.53 kB / 0.7332 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.674, allocations: 349.9 kB / 0.7335 GB, free: 3.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.6762, allocations: 2.203 MB / 0.7356 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.6767, allocations: 262.4 kB / 0.7359 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.6769, allocations: 164.7 kB / 0.736 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.6769, allocations: 4 kB / 0.7361 GB, free: 420 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.6769, allocations: 38.56 kB / 0.7361 GB, free: 372 kB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.677, allocations: 0 / 0.7361 GB, free: 372 kB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.001735/0.6787, allocations: 1.053 MB / 0.7371 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.6787, allocations: 63.34 kB / 0.7372 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.679, allocations: 245 kB / 0.7374 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.679, allocations: 29.7 kB / 0.7374 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6791, allocations: 187.9 kB / 0.7376 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.6792, allocations: 86.8 kB / 0.7377 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.6793, allocations: 73.59 kB / 0.7378 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6794, allocations: 338.8 kB / 0.7381 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.6797, allocations: 151.9 kB / 0.7382 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.6799, allocations: 229.6 kB / 0.7385 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.6804, allocations: 406.8 kB / 0.7388 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6804, allocations: 3.938 kB / 0.7388 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001024/0.6815, allocations: 0.5884 MB / 0.7394 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6815, allocations: 4 kB / 0.7394 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6815, allocations: 4.312 kB / 0.7394 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.6822, allocations: 192.6 kB / 0.7396 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.6825, allocations: 63.89 kB / 0.7397 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.6852, allocations: 2.492 MB / 0.7421 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.6855, allocations: 19.98 kB / 0.7421 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.6855, allocations: 12 kB / 0.7421 GB, free: 9.828 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.6857, allocations: 173.8 kB / 0.7423 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.6858, allocations: 23.66 kB / 0.7423 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.6863, allocations: 355.5 kB / 0.7427 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6863, allocations: 4 kB / 0.7427 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.6863, allocations: 3.984 kB / 0.7427 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6863, allocations: 3.938 kB / 0.7427 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.6873, allocations: 0.8066 MB / 0.7435 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.6874, allocations: 4.062 kB / 0.7435 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.6878, allocations: 79.88 kB / 0.7435 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6878, allocations: 0 / 0.7435 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.6879, allocations: 8 kB / 0.7436 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.6879, allocations: 7.984 kB / 0.7436 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6879, allocations: 0 / 0.7436 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.6886, allocations: 0.6179 MB / 0.7442 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.6887, allocations: 124.9 kB / 0.7443 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.6888, allocations: 11.91 kB / 0.7443 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.689, allocations: 15.98 kB / 0.7443 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.689, allocations: 19.92 kB / 0.7443 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.6891, allocations: 4 kB / 0.7443 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001623/0.6892, allocations: 184.5 kB / 0.7445 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6892, allocations: 0 / 0.7445 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004059/0.6896, allocations: 84 kB / 0.7446 GB, free: 7.211 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.6899, allocations: 115.2 kB / 0.7447 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009077/0.6908, allocations: 0.5676 MB / 0.7453 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6908, allocations: 4.188 kB / 0.7453 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.691, allocations: 143.9 kB / 0.7454 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.6914, allocations: 58.22 kB / 0.7455 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.6929, allocations: 0.9489 MB / 0.7464 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.6933, allocations: 0.7912 MB / 0.7472 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000212/0.6936, allocations: 74.91 kB / 0.7472 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.6936, allocations: 23.44 kB / 0.7472 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.6936, allocations: 0 / 0.7472 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of Templates: time 0.007749/0.7014, allocations: 4.002 MB / 0.7512 GB, free: 452 kB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)