Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00131/0.00131, allocations: 201.2 kB / 16.26 MB, free: 6.621 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.569/1.569, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 287 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5069 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 92.94 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1564, allocations: 89.16 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04587/0.2023, allocations: 36.9 MB / 0.729 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0235/0.2258, allocations: 13.57 MB / 0.7423 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/0.2289, allocations: 91.69 kB / 0.7424 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005916/0.2349, allocations: 2.133 MB / 0.7445 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.2393, allocations: 1.327 MB / 0.7457 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008989/0.2483, allocations: 3.272 MB / 0.7489 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008082/0.2564, allocations: 6.414 MB / 0.7552 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2784/0.5349, allocations: 11.98 MB / 0.7669 GB, free: 17.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.539, allocations: 2.748 MB / 0.7696 GB, free: 17.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005459/0.5445, allocations: 3.377 MB / 0.7729 GB, free: 17.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001784/0.5463, allocations: 0.624 MB / 0.7735 GB, free: 17.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.5492, allocations: 1.253 MB / 0.7747 GB, free: 17.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003289/0.5525, allocations: 2.479 MB / 0.7771 GB, free: 17.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003973/0.5565, allocations: 2.551 MB / 0.7796 GB, free: 16.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009665/0.5662, allocations: 9.161 MB / 0.7886 GB, free: 16.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.5662, allocations: 0 / 0.7886 GB, free: 16.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5662, allocations: 0 / 0.7886 GB, free: 16.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002011/0.5664, allocations: 1.406 kB / 0.7886 GB, free: 16.17 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.00985/0.5763, allocations: 4.307 MB / 0.7928 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5764, allocations: 9.344 kB / 0.7928 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004993/0.5814, allocations: 1.027 MB / 0.7938 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/0.5853, allocations: 2.202 MB / 0.7959 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.5855, allocations: 329.5 kB / 0.7963 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007492/0.5863, allocations: 424.1 kB / 0.7967 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.5992, allocations: 7.408 MB / 0.8039 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.622e-05/0.5994, allocations: 18.19 kB / 0.8039 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005376/0.5999, allocations: 180.2 kB / 0.8041 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000273/0.6002, allocations: 288.2 kB / 0.8044 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009935/0.6101, allocations: 6.027 MB / 0.8103 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04048/0.6506, allocations: 32.7 MB / 0.8422 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.6544, allocations: 2.148 MB / 0.8443 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.6563, allocations: 1.25 MB / 0.8455 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.6565, allocations: 106.9 kB / 0.8456 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.6565, allocations: 47.56 kB / 0.8457 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=98): time 3.376e-06/0.6565, allocations: 0 / 0.8457 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101): time 0.008883/0.6654, allocations: 5.276 MB / 0.8508 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.6655, allocations: 141.5 kB / 0.8509 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.6677, allocations: 1.468 MB / 0.8524 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.6678, allocations: 41.7 kB / 0.8524 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.6692, allocations: 1.866 MB / 0.8542 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.6696, allocations: 375 kB / 0.8546 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000796/0.6704, allocations: 463 kB / 0.855 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6706, allocations: 301.1 kB / 0.8553 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.6726, allocations: 1.153 MB / 0.8564 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/0.6755, allocations: 2.208 MB / 0.8586 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/0.6804, allocations: 3.441 MB / 0.862 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/0.6804, allocations: 8 kB / 0.862 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005675/0.6861, allocations: 3.371 MB / 0.8653 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.6862, allocations: 20 kB / 0.8653 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/0.6862, allocations: 32 kB / 0.8653 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.946e-05/0.6863, allocations: 48 kB / 0.8654 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.6886, allocations: 0.6277 MB / 0.866 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.084e-05/0.6887, allocations: 74.16 kB / 0.866 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.6909, allocations: 330.7 kB / 0.8664 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.6911, allocations: 116 kB / 0.8665 GB, free: 428 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00431/0.6954, allocations: 2.432 MB / 0.8688 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002636/0.6981, allocations: 2.043 MB / 0.8708 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00411/0.7022, allocations: 3.065 MB / 0.8738 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.338e-05/0.7022, allocations: 23.22 kB / 0.8739 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004954/0.7072, allocations: 2.975 MB / 0.8768 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.7072, allocations: 20 kB / 0.8768 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/0.7073, allocations: 36 kB / 0.8768 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.744e-05/0.7073, allocations: 48 kB / 0.8769 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.7093, allocations: 0.5654 MB / 0.8774 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.829e-05/0.7093, allocations: 72.28 kB / 0.8775 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.7113, allocations: 275 kB / 0.8777 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.7115, allocations: 116 kB / 0.8779 GB, free: 4.145 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0005202/0.712, allocations: 331.1 kB / 0.8782 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.7124, allocations: 154.1 kB / 0.8783 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.7161, allocations: 2.246 MB / 0.8805 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.7162, allocations: 12 kB / 0.8805 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.7162, allocations: 7.938 kB / 0.8805 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.7162, allocations: 3.984 kB / 0.8805 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.7326, allocations: 10.99 MB / 0.8913 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.7326, allocations: 12 kB / 0.8913 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.7341, allocations: 390.7 kB / 0.8916 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/0.7342, allocations: 16 kB / 0.8917 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/0.7343, allocations: 28 kB / 0.8917 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/0.7343, allocations: 23.55 kB / 0.8917 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/0.7343, allocations: 19.47 kB / 0.8917 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.7379, allocations: 2.765 MB / 0.8944 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/0.7388, allocations: 454.9 kB / 0.8949 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.739, allocations: 43.83 kB / 0.8949 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.7403, allocations: 171.7 kB / 0.8951 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.7405, allocations: 99.39 kB / 0.8952 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.7406, allocations: 39.94 kB / 0.8952 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001607/0.7423, allocations: 1.005 MB / 0.8962 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7423, allocations: 0 / 0.8962 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004062/0.7463, allocations: 1.137 MB / 0.8973 GB, free: 15.97 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.0002662/0.7466, allocations: 149.6 kB / 0.8974 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006966/0.7536, allocations: 4.303 MB / 0.9016 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.7536, allocations: 0 / 0.9016 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.7552, allocations: 1.061 MB / 0.9027 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.7576, allocations: 447.8 kB / 0.9031 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.771, allocations: 8.794 MB / 0.9117 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/0.7743, allocations: 2.864 MB / 0.9145 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003282/0.7776, allocations: 1.223 MB / 0.9157 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/0.7782, allocations: 123.4 kB / 0.9158 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.7782, allocations: 0 / 0.9158 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.04614/0.8243, allocations: 25.33 MB / 0.9405 GB, free: 4.18 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)