Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001008, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006615/0.006615, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.709/1.709, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.961/1.961, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.0005436/0.0005436, allocations: 18.78 kB / 0.6743 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2553, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005148/0.2605, allocations: 4.522 MB / 0.7923 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003852/0.2644, allocations: 2.519 MB / 0.7948 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.2648, allocations: 27.75 kB / 0.7948 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.2651, allocations: 87.2 kB / 0.7949 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.2661, allocations: 414 kB / 0.7953 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.2669, allocations: 370.2 kB / 0.7956 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.268, allocations: 1.132 MB / 0.7967 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.2688, allocations: 460.3 kB / 0.7972 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.2692, allocations: 294.6 kB / 0.7974 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.2697, allocations: 338.4 kB / 0.7978 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.2697, allocations: 20 kB / 0.7978 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007498/0.2705, allocations: 498.9 kB / 0.7983 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.2707, allocations: 163.5 kB / 0.7984 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.271, allocations: 323.9 kB / 0.7987 GB, free: 412 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009402/0.2719, allocations: 0.8838 MB / 0.7996 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2719, allocations: 0 / 0.7996 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2719, allocations: 0 / 0.7996 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.272, allocations: 0 / 0.7996 GB, free: 15.51 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001237/0.2732, allocations: 0.8373 MB / 0.8004 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2733, allocations: 12.03 kB / 0.8004 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.2745, allocations: 199.8 kB / 0.8006 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.2752, allocations: 0.4905 MB / 0.8011 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.2752, allocations: 33.36 kB / 0.8011 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.2753, allocations: 48.38 kB / 0.8012 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2764, allocations: 0.8484 MB / 0.802 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2764, allocations: 11.92 kB / 0.802 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.2765, allocations: 27.98 kB / 0.802 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.965e-05/0.2766, allocations: 60.97 kB / 0.8021 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.2774, allocations: 0.5656 MB / 0.8026 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.2814, allocations: 5.666 MB / 0.8082 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.282, allocations: 458.3 kB / 0.8086 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.2823, allocations: 224.7 kB / 0.8088 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2823, allocations: 4 kB / 0.8088 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2824, allocations: 34.56 kB / 0.8089 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.2824, allocations: 0 / 0.8089 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002542/0.2849, allocations: 1.52 MB / 0.8103 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.285, allocations: 55.41 kB / 0.8104 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.2856, allocations: 0.4913 MB / 0.8109 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.2856, allocations: 33.7 kB / 0.8109 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.286, allocations: 362.8 kB / 0.8113 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.2861, allocations: 122.2 kB / 0.8114 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.2862, allocations: 49.69 kB / 0.8114 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.2864, allocations: 370.8 kB / 0.8118 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.2867, allocations: 197.2 kB / 0.812 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.2873, allocations: 454.8 kB / 0.8124 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.2883, allocations: 0.681 MB / 0.8131 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2883, allocations: 0 / 0.8131 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001459/0.2898, allocations: 0.8136 MB / 0.8139 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.2898, allocations: 10.81 kB / 0.8139 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.2899, allocations: 8 kB / 0.8139 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/0.2904, allocations: 156.1 kB / 0.814 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.291, allocations: 119.8 kB / 0.8141 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/0.2945, allocations: 4.044 MB / 0.8181 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.295, allocations: 43.91 kB / 0.8181 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.295, allocations: 28 kB / 0.8182 GB, free: 11.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.2953, allocations: 213.8 kB / 0.8184 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2955, allocations: 63.25 kB / 0.8184 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.2965, allocations: 0.6087 MB / 0.819 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2966, allocations: 0 / 0.819 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2966, allocations: 4 kB / 0.819 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.2966, allocations: 7.938 kB / 0.819 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.2983, allocations: 1.261 MB / 0.8203 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2983, allocations: 4 kB / 0.8203 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.2986, allocations: 55.89 kB / 0.8203 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003976/0.299, allocations: 140.2 kB / 0.8204 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.299, allocations: 12.09 kB / 0.8205 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.3027, allocations: 4.032 MB / 0.8244 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3027, allocations: 4 kB / 0.8244 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.3039, allocations: 0.7077 MB / 0.8251 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.3042, allocations: 172.3 kB / 0.8253 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.3043, allocations: 11.94 kB / 0.8253 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3046, allocations: 19.97 kB / 0.8253 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.3046, allocations: 31.97 kB / 0.8253 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.3047, allocations: 8 kB / 0.8253 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004209/0.3051, allocations: 342.8 kB / 0.8256 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3051, allocations: 0 / 0.8256 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000986/0.3061, allocations: 140 kB / 0.8258 GB, free: 2.598 MB / 0.6387 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/0.3063, allocations: 115.1 kB / 0.8259 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.3078, allocations: 1.033 MB / 0.8269 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3078, allocations: 0 / 0.8269 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008175/0.3086, allocations: 0.7385 MB / 0.8276 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.3097, allocations: 190.7 kB / 0.8278 GB, free: 360 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.3116, allocations: 1.289 MB / 0.8291 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.3122, allocations: 0.9059 MB / 0.8299 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003462/0.3126, allocations: 121.3 kB / 0.8301 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.3127, allocations: 39.44 kB / 0.8301 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.3127, allocations: 0 / 0.8301 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.01384/0.3266, allocations: 7.278 MB / 0.8372 GB, free: 6.727 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: