Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00165/0.00165, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.002009/0.002009, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.554/1.554, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 72.11 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8553/0.8568, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005745/0.8626, allocations: 4.199 MB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004509/0.8671, allocations: 2.81 MB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.8675, allocations: 11.94 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.8687, allocations: 370.3 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.8698, allocations: 422.1 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.871, allocations: 0.5019 MB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009099/0.8719, allocations: 0.7047 MB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005752/0.8725, allocations: 347.1 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.873, allocations: 267 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.8736, allocations: 338.8 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.871e-05/0.8737, allocations: 36 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.8743, allocations: 351.2 kB / 1.177 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.8745, allocations: 191.5 kB / 1.178 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.8748, allocations: 250.7 kB / 1.178 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009011/0.8757, allocations: 0.7414 MB / 1.179 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8757, allocations: 7.984 kB / 1.179 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8757, allocations: 0 / 1.179 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.457e-05/0.8758, allocations: 0 / 1.179 GB, free: 8.312 MB / 0.9044 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.001488/0.8773, allocations: 0.8107 MB / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8773, allocations: 8.922 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.8787, allocations: 196 kB / 1.18 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/0.8793, allocations: 371.1 kB / 1.18 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.8793, allocations: 29.38 kB / 1.18 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.8794, allocations: 44.36 kB / 1.18 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.8807, allocations: 0.8409 MB / 1.181 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.8808, allocations: 7.938 kB / 1.181 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.8809, allocations: 23.98 kB / 1.181 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-05/0.881, allocations: 60.61 kB / 1.181 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.8823, allocations: 0.6619 MB / 1.181 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004381/0.8867, allocations: 4.666 MB / 1.186 GB, free: 72 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.8878, allocations: 0.5048 MB / 1.187 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/0.8884, allocations: 285.5 kB / 1.187 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.8884, allocations: 0 / 1.187 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.8884, allocations: 42.5 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.8884, allocations: 0 / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.001917/0.8904, allocations: 0.8821 MB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.8904, allocations: 85.09 kB / 1.188 GB, free: 14.22 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.8909, allocations: 373.6 kB / 1.188 GB, free: 13.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.8909, allocations: 37.7 kB / 1.188 GB, free: 13.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.8911, allocations: 287 kB / 1.188 GB, free: 13.51 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.8912, allocations: 122.3 kB / 1.189 GB, free: 13.39 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.8914, allocations: 118 kB / 1.189 GB, free: 13.27 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8915, allocations: 350.7 kB / 1.189 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005634/0.8921, allocations: 274.9 kB / 1.189 GB, free: 12.64 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.8928, allocations: 482.5 kB / 1.19 GB, free: 12.08 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.894, allocations: 0.7776 MB / 1.19 GB, free: 11.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.894, allocations: 4 kB / 1.191 GB, free: 11.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001506/0.8956, allocations: 0.7898 MB / 1.191 GB, free: 10.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8956, allocations: 8 kB / 1.191 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.8956, allocations: 8 kB / 1.191 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.8956, allocations: 8 kB / 1.191 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.8964, allocations: 167.7 kB / 1.191 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.8964, allocations: 11.94 kB / 1.191 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.897, allocations: 79.84 kB / 1.192 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.8971, allocations: 28 kB / 1.192 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006152/0.8977, allocations: 361 kB / 1.192 GB, free: 9.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005891/0.8983, allocations: 449.4 kB / 1.192 GB, free: 9.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.8994, allocations: 0.6754 MB / 1.193 GB, free: 8.398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/0.8994, allocations: 4 kB / 1.193 GB, free: 8.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001345/0.9007, allocations: 0.6948 MB / 1.194 GB, free: 7.695 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.9008, allocations: 10.34 kB / 1.194 GB, free: 7.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9008, allocations: 8 kB / 1.194 GB, free: 7.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.9008, allocations: 12 kB / 1.194 GB, free: 7.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.9014, allocations: 147.8 kB / 1.194 GB, free: 7.523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.9014, allocations: 15.94 kB / 1.194 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.9019, allocations: 67.84 kB / 1.194 GB, free: 7.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.902, allocations: 28 kB / 1.194 GB, free: 7.414 MB / 0.92 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.0001902/0.9022, allocations: 226.7 kB / 1.194 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.9023, allocations: 39.53 kB / 1.194 GB, free: 7.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.9034, allocations: 0.5727 MB / 1.195 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9034, allocations: 4 kB / 1.195 GB, free: 6.562 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.9034, allocations: 3.984 kB / 1.195 GB, free: 6.559 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9035, allocations: 4 kB / 1.195 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.9061, allocations: 1.611 MB / 1.196 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.9061, allocations: 0 / 1.196 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.9067, allocations: 115.8 kB / 1.196 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.9067, allocations: 4 kB / 1.196 GB, free: 4.727 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.9067, allocations: 12 kB / 1.196 GB, free: 4.715 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.9067, allocations: 7.938 kB / 1.196 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.9067, allocations: 8.391 kB / 1.196 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.9078, allocations: 0.7874 MB / 1.197 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.9081, allocations: 172.4 kB / 1.197 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.9082, allocations: 12 kB / 1.197 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.9087, allocations: 51.86 kB / 1.197 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.9088, allocations: 43.84 kB / 1.198 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.9088, allocations: 8 kB / 1.198 GB, free: 3.551 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003521/0.9092, allocations: 279.1 kB / 1.198 GB, free: 3.281 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9092, allocations: 0 / 1.198 GB, free: 3.281 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008856/0.9101, allocations: 192 kB / 1.198 GB, free: 3.094 MB / 0.92 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.0001378/0.9102, allocations: 119.1 kB / 1.198 GB, free: 2.969 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.9121, allocations: 0.9363 MB / 1.199 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.9121, allocations: 0 / 1.199 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.9126, allocations: 267 kB / 1.199 GB, free: 1.766 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/0.9134, allocations: 134.7 kB / 1.199 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.9151, allocations: 1.057 MB / 1.2 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.9155, allocations: 0.8711 MB / 1.201 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.9158, allocations: 43.42 kB / 1.201 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9158, allocations: 4 kB / 1.201 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of Templates: time 0.009889/0.9257, allocations: 6.654 MB / 1.208 GB, free: 8.922 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)