Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001586, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001948/0.001949, allocations: 190.1 kB / 16.14 MB, free: 6.703 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.503/1.503, allocations: 205.1 MB / 222 MB, free: 4.73 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.545/1.545, allocations: 251.7 MB / 0.5088 GB, free: 3.316 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.001735/0.001735, allocations: 63.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5819/0.5836, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02184/0.6055, allocations: 20.27 MB / 0.7436 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01401/0.6196, allocations: 7.628 MB / 0.7511 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.6225, allocations: 51.81 kB / 0.7511 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.6262, allocations: 1.241 MB / 0.7523 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.6295, allocations: 0.9185 MB / 0.7532 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.6345, allocations: 1.849 MB / 0.755 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006861/0.6413, allocations: 6.441 MB / 0.7613 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0093/0.6507, allocations: 6.861 MB / 0.768 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.6535, allocations: 1.546 MB / 0.7695 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004026/0.6576, allocations: 2.248 MB / 0.7717 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.659, allocations: 292 kB / 0.772 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.6616, allocations: 0.94 MB / 0.7729 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.6635, allocations: 1.524 MB / 0.7744 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.6656, allocations: 1.571 MB / 0.7759 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006238/0.6719, allocations: 6.065 MB / 0.7819 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.6719, allocations: 0 / 0.7819 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6719, allocations: 0 / 0.7819 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001327/0.6721, allocations: 0 / 0.7819 GB, free: 1.488 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006954/0.679, allocations: 3.04 MB / 0.7848 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.6791, allocations: 8.031 kB / 0.7848 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/0.6821, allocations: 0.6843 MB / 0.7855 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.6847, allocations: 1.54 MB / 0.787 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.6848, allocations: 218.2 kB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004331/0.6853, allocations: 292.3 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00931/0.6946, allocations: 5.047 MB / 0.7924 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.6947, allocations: 7.938 kB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.695, allocations: 131.9 kB / 0.7926 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002554/0.6953, allocations: 208.6 kB / 0.7928 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007171/0.7025, allocations: 4.177 MB / 0.7968 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02769/0.7302, allocations: 23.01 MB / 0.8193 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.7334, allocations: 1.712 MB / 0.821 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.7351, allocations: 1.141 MB / 0.8221 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.7353, allocations: 101.7 kB / 0.8222 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.7353, allocations: 47.16 kB / 0.8222 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 3.576e-06/0.7353, allocations: 0 / 0.8222 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.006215/0.7416, allocations: 3.981 MB / 0.8261 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.7417, allocations: 153.7 kB / 0.8263 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.7427, allocations: 0.8447 MB / 0.8271 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.7428, allocations: 41.7 kB / 0.8271 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006778/0.7435, allocations: 1.162 MB / 0.8283 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.7438, allocations: 311.5 kB / 0.8286 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/0.7442, allocations: 270.6 kB / 0.8288 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.7445, allocations: 410.7 kB / 0.8292 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.7457, allocations: 0.8062 MB / 0.83 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.7472, allocations: 1.283 MB / 0.8313 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.75, allocations: 2.147 MB / 0.8334 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.75, allocations: 4 kB / 0.8334 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00318/0.7532, allocations: 2.171 MB / 0.8355 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.7532, allocations: 8 kB / 0.8355 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.7533, allocations: 19.98 kB / 0.8355 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.7533, allocations: 20 kB / 0.8355 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.7548, allocations: 408 kB / 0.8359 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.492e-05/0.7549, allocations: 31.86 kB / 0.8359 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7561, allocations: 195.3 kB / 0.8361 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.7562, allocations: 67.97 kB / 0.8362 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002792/0.759, allocations: 1.65 MB / 0.8378 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001344/0.7604, allocations: 1.174 MB / 0.839 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002312/0.7627, allocations: 1.867 MB / 0.8408 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.979e-06/0.7628, allocations: 11.94 kB / 0.8408 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002842/0.7656, allocations: 1.883 MB / 0.8426 GB, free: 15.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.7657, allocations: 17.97 kB / 0.8426 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.7657, allocations: 19.98 kB / 0.8427 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.7657, allocations: 20.19 kB / 0.8427 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.7669, allocations: 359.4 kB / 0.843 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.7669, allocations: 31.81 kB / 0.8431 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.768, allocations: 159.4 kB / 0.8432 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.7681, allocations: 63.98 kB / 0.8433 GB, free: 15.07 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0004808/0.7686, allocations: 267.8 kB / 0.8435 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.7688, allocations: 102.8 kB / 0.8436 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.7717, allocations: 1.846 MB / 0.8454 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.7717, allocations: 12 kB / 0.8454 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.7717, allocations: 0 / 0.8454 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.7717, allocations: 7.922 kB / 0.8454 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.7845, allocations: 9.576 MB / 0.8548 GB, free: 2.992 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.7846, allocations: 12 kB / 0.8548 GB, free: 2.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.7857, allocations: 315.4 kB / 0.8551 GB, free: 2.672 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.882e-05/0.7857, allocations: 16 kB / 0.8551 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.7858, allocations: 28 kB / 0.8552 GB, free: 2.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/0.7859, allocations: 28.27 kB / 0.8552 GB, free: 2.602 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.7859, allocations: 19.94 kB / 0.8552 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.7886, allocations: 2.402 MB / 0.8575 GB, free: 20 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.7892, allocations: 367.6 kB / 0.8579 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.7894, allocations: 35.98 kB / 0.8579 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000843/0.7902, allocations: 139.7 kB / 0.8581 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.7905, allocations: 87.67 kB / 0.8581 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.7905, allocations: 40 kB / 0.8582 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007807/0.7913, allocations: 0.5849 MB / 0.8588 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7913, allocations: 0 / 0.8588 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002592/0.7939, allocations: 0.75 MB / 0.8595 GB, free: 14.02 MB / 0.6856 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 (90): * Single equations (assignments): 90 * 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.0002551/0.7942, allocations: 154.9 kB / 0.8596 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003899/0.7981, allocations: 2.823 MB / 0.8624 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.7981, allocations: 4.125 kB / 0.8624 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.7993, allocations: 0.9119 MB / 0.8633 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.801, allocations: 285.2 kB / 0.8636 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009185/0.8102, allocations: 6.211 MB / 0.8696 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.8124, allocations: 2.131 MB / 0.8717 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002036/0.8144, allocations: 0.7383 MB / 0.8724 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.8148, allocations: 83.42 kB / 0.8725 GB, free: 480 kB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/0.8149, allocations: 4 kB / 0.8725 GB, free: 476 kB / 0.6856 GB Notification: Performance of Templates: time 0.02942/0.8443, allocations: 16.73 MB / 0.8888 GB, free: 15.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)