Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001773/0.001773, allocations: 182.3 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9219/0.9232, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005311/0.9286, allocations: 4.208 MB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004418/0.933, allocations: 2.8 MB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.9334, allocations: 10.72 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.9346, allocations: 375.9 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.9357, allocations: 410.9 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.9372, allocations: 0.512 MB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.9384, allocations: 0.6992 MB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.939, allocations: 343.5 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.9394, allocations: 267.3 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.94, allocations: 341.5 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.686e-05/0.9401, allocations: 37.88 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007078/0.9409, allocations: 338.3 kB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.9411, allocations: 198.2 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.9414, allocations: 248.4 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.9425, allocations: 0.7514 MB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.9425, allocations: 4 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9426, allocations: 0 / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.9426, allocations: 1.062 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001499/0.9441, allocations: 0.8073 MB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.9441, allocations: 12.72 kB / 1.101 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.9455, allocations: 198 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.9461, allocations: 376.1 kB / 1.101 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.9461, allocations: 29.94 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.9462, allocations: 43.67 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.9477, allocations: 0.8489 MB / 1.102 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.9478, allocations: 7.578 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.9478, allocations: 22.7 kB / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.948, allocations: 63.7 kB / 1.102 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.9496, allocations: 0.6661 MB / 1.103 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.9541, allocations: 4.648 MB / 1.107 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.9553, allocations: 0.5051 MB / 1.108 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.9559, allocations: 277.1 kB / 1.108 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.9559, allocations: 12.08 kB / 1.108 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.956, allocations: 40.78 kB / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.956, allocations: 0 / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.002133/0.9581, allocations: 0.8816 MB / 1.109 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.9582, allocations: 81.33 kB / 1.109 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.9587, allocations: 379.8 kB / 1.109 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.9587, allocations: 31.36 kB / 1.109 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.959, allocations: 290.8 kB / 1.11 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.9591, allocations: 122.5 kB / 1.11 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.9593, allocations: 118.9 kB / 1.11 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9595, allocations: 351.5 kB / 1.11 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.9601, allocations: 267.9 kB / 1.111 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.9608, allocations: 490.4 kB / 1.111 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.9622, allocations: 0.763 MB / 1.112 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9622, allocations: 2.719 kB / 1.112 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001632/0.9638, allocations: 0.7887 MB / 1.113 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.9639, allocations: 10.28 kB / 1.113 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.9639, allocations: 7.062 kB / 1.113 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.9639, allocations: 11 kB / 1.113 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/0.9647, allocations: 168.4 kB / 1.113 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.9647, allocations: 15.67 kB / 1.113 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.9654, allocations: 79.47 kB / 1.113 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.9654, allocations: 28.77 kB / 1.113 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007307/0.9662, allocations: 361.4 kB / 1.113 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007657/0.967, allocations: 451.2 kB / 1.114 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/0.9682, allocations: 0.6792 MB / 1.114 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.109e-06/0.9682, allocations: 2.656 kB / 1.114 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001473/0.9697, allocations: 0.6813 MB / 1.115 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9697, allocations: 8.375 kB / 1.115 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.9697, allocations: 9.281 kB / 1.115 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.9698, allocations: 14.41 kB / 1.115 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.9704, allocations: 156 kB / 1.115 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.9704, allocations: 21.31 kB / 1.115 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.971, allocations: 63.23 kB / 1.115 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.9711, allocations: 28.06 kB / 1.115 GB, free: 4.602 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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 prepare postOptimizeDAE: time 0.0002778/0.9713, allocations: 223 kB / 1.115 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.9715, allocations: 43.27 kB / 1.116 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.9728, allocations: 0.5753 MB / 1.116 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.9728, allocations: 4.25 kB / 1.116 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.9728, allocations: 0.875 kB / 1.116 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.9728, allocations: 3.094 kB / 1.116 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.9756, allocations: 1.616 MB / 1.118 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.9757, allocations: 4.281 kB / 1.118 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.9762, allocations: 114.2 kB / 1.118 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.9763, allocations: 9.719 kB / 1.118 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.9763, allocations: 13.62 kB / 1.118 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.9763, allocations: 6.094 kB / 1.118 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.9763, allocations: 4.844 kB / 1.118 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.9775, allocations: 0.7841 MB / 1.119 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.9778, allocations: 164.7 kB / 1.119 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/0.9779, allocations: 16.41 kB / 1.119 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.9783, allocations: 51.38 kB / 1.119 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.9784, allocations: 31.67 kB / 1.119 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.9785, allocations: 15.03 kB / 1.119 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003904/0.9789, allocations: 277.6 kB / 1.119 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9789, allocations: 0 / 1.119 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001013/0.9799, allocations: 191.3 kB / 1.119 GB, free: 2.465 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (35): * Single equations (assignments): 35 * 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.000168/0.9801, allocations: 113.4 kB / 1.119 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.9821, allocations: 0.9319 MB / 1.12 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9821, allocations: 2.25 kB / 1.12 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.9826, allocations: 268.7 kB / 1.121 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008892/0.9835, allocations: 131 kB / 1.121 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.9854, allocations: 1.061 MB / 1.122 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.986, allocations: 0.8671 MB / 1.123 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.9862, allocations: 41.45 kB / 1.123 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of SimCode: time 7.51e-07/0.9862, allocations: 0 / 1.123 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of Templates: time 0.01258/0.9988, allocations: 6.657 MB / 1.129 GB, free: 56 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)