Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001648, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001843/0.001843, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.4 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.238/2.238, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 72.05 kB / 0.8127 GB, free: 33.31 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.009958/0.3508, allocations: 4.374 MB / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006813/0.3577, allocations: 2.798 MB / 0.9568 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005348/0.3583, allocations: 11.94 kB / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.36, allocations: 342.7 kB / 0.9571 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.3616, allocations: 390.5 kB / 0.9575 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.3639, allocations: 490.9 kB / 0.958 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3652, allocations: 0.7278 MB / 0.9587 GB, free: 48 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009078/0.3662, allocations: 411.5 kB / 0.9591 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.3667, allocations: 275 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.3674, allocations: 370.7 kB / 0.9597 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.3676, allocations: 47.94 kB / 0.9597 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.3684, allocations: 339.3 kB / 0.96 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.3687, allocations: 199.5 kB / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.3691, allocations: 262.7 kB / 0.9605 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009638/0.37, allocations: 0.577 MB / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.37, allocations: 4 kB / 0.9611 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3701, allocations: 0 / 0.9611 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.904e-05/0.3701, allocations: 0 / 0.9611 GB, free: 13.59 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002101/0.3722, allocations: 0.8434 MB / 0.9619 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3723, allocations: 12.03 kB / 0.9619 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.3739, allocations: 216 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.3746, allocations: 371 kB / 0.9624 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.3746, allocations: 33.36 kB / 0.9625 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3748, allocations: 40.31 kB / 0.9625 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.3765, allocations: 0.8675 MB / 0.9634 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.3765, allocations: 3.938 kB / 0.9634 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/0.3766, allocations: 23.98 kB / 0.9634 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3767, allocations: 64.95 kB / 0.9635 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.3785, allocations: 0.714 MB / 0.9641 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005084/0.3836, allocations: 4.539 MB / 0.9686 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.3854, allocations: 0.6533 MB / 0.9692 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/0.3862, allocations: 321.5 kB / 0.9695 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.3863, allocations: 7.984 kB / 0.9695 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.3863, allocations: 42.41 kB / 0.9696 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=38): time 2.334e-06/0.3863, allocations: 4 kB / 0.9696 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.002666/0.389, allocations: 1.01 MB / 0.9706 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.3891, allocations: 81.11 kB / 0.9706 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.3895, allocations: 357.5 kB / 0.971 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.3896, allocations: 33.64 kB / 0.971 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.3899, allocations: 279.8 kB / 0.9713 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.39, allocations: 138.1 kB / 0.9714 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.3903, allocations: 114 kB / 0.9715 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3904, allocations: 354.7 kB / 0.9719 GB, free: 1.891 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.3912, allocations: 294.9 kB / 0.9721 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.392, allocations: 500 kB / 0.9726 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.3937, allocations: 0.8093 MB / 0.9734 GB, free: 116 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3937, allocations: 0 / 0.9734 GB, free: 116 kB / 0.7481 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001955/0.3956, allocations: 0.8279 MB / 0.9742 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.3957, allocations: 8 kB / 0.9742 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3957, allocations: 12.75 kB / 0.9742 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.3957, allocations: 8 kB / 0.9742 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/0.3967, allocations: 187.7 kB / 0.9744 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-05/0.3967, allocations: 11.98 kB / 0.9744 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.3974, allocations: 79.64 kB / 0.9745 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.3975, allocations: 31.98 kB / 0.9745 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008342/0.3983, allocations: 387 kB / 0.9749 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007852/0.3991, allocations: 451.7 kB / 0.9753 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0014/0.4005, allocations: 0.7213 MB / 0.976 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-05/0.4005, allocations: 11.92 kB / 0.9761 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.00173/0.4023, allocations: 0.7254 MB / 0.9768 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4023, allocations: 8 kB / 0.9768 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4023, allocations: 8 kB / 0.9768 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.4024, allocations: 12 kB / 0.9768 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.4031, allocations: 160.1 kB / 0.9769 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/0.4032, allocations: 19.92 kB / 0.977 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.4038, allocations: 67.78 kB / 0.977 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.4039, allocations: 24 kB / 0.9771 GB, free: 12.16 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0003088/0.4042, allocations: 220 kB / 0.9773 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.4044, allocations: 51.42 kB / 0.9773 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.4062, allocations: 0.6964 MB / 0.978 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.4062, allocations: 4 kB / 0.978 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4063, allocations: 0 / 0.978 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4063, allocations: 3.984 kB / 0.978 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.4091, allocations: 1.48 MB / 0.9794 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.4092, allocations: 4 kB / 0.9794 GB, free: 9.625 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000892/0.4101, allocations: 139.8 kB / 0.9796 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.4101, allocations: 4 kB / 0.9796 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.4101, allocations: 15.94 kB / 0.9796 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.4102, allocations: 7.938 kB / 0.9796 GB, free: 9.461 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4102, allocations: 4.219 kB / 0.9796 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.4117, allocations: 0.8109 MB / 0.9804 GB, free: 8.609 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.4121, allocations: 168.5 kB / 0.9806 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.4122, allocations: 23.78 kB / 0.9806 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.4128, allocations: 55.92 kB / 0.9806 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4129, allocations: 35.95 kB / 0.9807 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.413, allocations: 8 kB / 0.9807 GB, free: 8.305 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000397/0.4134, allocations: 271.1 kB / 0.9809 GB, free: 8.043 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4134, allocations: 0 / 0.9809 GB, free: 8.043 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001052/0.4144, allocations: 204 kB / 0.9811 GB, free: 7.844 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.0001859/0.4146, allocations: 111.2 kB / 0.9812 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002467/0.4171, allocations: 1.069 MB / 0.9823 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4171, allocations: 3.938 kB / 0.9823 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006613/0.4178, allocations: 311.5 kB / 0.9826 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.4187, allocations: 137 kB / 0.9827 GB, free: 6.227 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.4214, allocations: 1.307 MB / 0.984 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.422, allocations: 0.8794 MB / 0.9849 GB, free: 3.957 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.4222, allocations: 51.42 kB / 0.9849 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of SimCode: time 7.42e-07/0.4222, allocations: 0 / 0.9849 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of Templates: time 0.01287/0.4351, allocations: 7.044 MB / 0.9918 GB, free: 12.9 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)