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.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 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.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002011/0.002012, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003224/0.003224, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.667/1.667, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.597/1.597, allocations: 251.7 MB / 0.5092 GB, free: 3.148 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.001772/0.001772, allocations: 75.91 kB / 0.6223 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4972, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01809/0.5153, allocations: 16.01 MB / 0.7402 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008679/0.524, allocations: 4.875 MB / 0.7449 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.5254, allocations: 63.69 kB / 0.745 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.5282, allocations: 1.045 MB / 0.746 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.5303, allocations: 0.7464 MB / 0.7467 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.533, allocations: 0.9225 MB / 0.7476 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004446/0.5374, allocations: 3.607 MB / 0.7511 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005439/0.5429, allocations: 4.802 MB / 0.7558 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.5454, allocations: 1.57 MB / 0.7574 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.5481, allocations: 1.784 MB / 0.7591 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006681/0.5487, allocations: 340 kB / 0.7594 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.5504, allocations: 0.7958 MB / 0.7602 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.5516, allocations: 1.329 MB / 0.7615 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.5533, allocations: 1.455 MB / 0.7629 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004879/0.5582, allocations: 5.095 MB / 0.7679 GB, free: 344 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5583, allocations: 0 / 0.7679 GB, free: 344 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5583, allocations: 0 / 0.7679 GB, free: 344 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001124/0.5584, allocations: 0 / 0.7679 GB, free: 344 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005111/0.5635, allocations: 2.647 MB / 0.7705 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5636, allocations: 12.03 kB / 0.7705 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/0.5674, allocations: 0.8367 MB / 0.7713 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.5699, allocations: 1.494 MB / 0.7728 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.57, allocations: 185.1 kB / 0.773 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/0.5704, allocations: 236.3 kB / 0.7732 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006402/0.5768, allocations: 4.158 MB / 0.7772 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/0.5769, allocations: 11.88 kB / 0.7773 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.5771, allocations: 104 kB / 0.7774 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.5773, allocations: 168.5 kB / 0.7775 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005658/0.583, allocations: 3.625 MB / 0.7811 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01911/0.6021, allocations: 16.55 MB / 0.7972 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.6056, allocations: 2.297 MB / 0.7995 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.6065, allocations: 0.578 MB / 0.8 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.6066, allocations: 93.67 kB / 0.8001 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.6067, allocations: 47.05 kB / 0.8002 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=72): time 2.935e-06/0.6067, allocations: 4 kB / 0.8002 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.00565/0.6123, allocations: 3.428 MB / 0.8035 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.6124, allocations: 111.5 kB / 0.8036 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.6139, allocations: 1.01 MB / 0.8046 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.614, allocations: 41.7 kB / 0.8046 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008152/0.6148, allocations: 1.107 MB / 0.8057 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.615, allocations: 272.1 kB / 0.806 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000382/0.6154, allocations: 283.2 kB / 0.8062 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.6156, allocations: 410.7 kB / 0.8066 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009315/0.6166, allocations: 0.6128 MB / 0.8072 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.6178, allocations: 1.193 MB / 0.8084 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.62, allocations: 1.868 MB / 0.8102 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.62, allocations: 4 kB / 0.8102 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003052/0.6231, allocations: 2.011 MB / 0.8122 GB, free: 308 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.6231, allocations: 18.02 kB / 0.8122 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.6232, allocations: 20 kB / 0.8122 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004093/0.6236, allocations: 167.8 kB / 0.8124 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.6248, allocations: 347.3 kB / 0.8127 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.6248, allocations: 39.86 kB / 0.8128 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000935/0.6257, allocations: 127.7 kB / 0.8129 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/0.6258, allocations: 71.98 kB / 0.8129 GB, free: 15.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001276/0.6271, allocations: 0.9771 MB / 0.8139 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.6273, allocations: 114.6 kB / 0.814 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.6293, allocations: 1.23 MB / 0.8152 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.6293, allocations: 15.92 kB / 0.8152 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6294, allocations: 4 kB / 0.8152 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6294, allocations: 7.984 kB / 0.8152 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.6345, allocations: 3.792 MB / 0.8189 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.6345, allocations: 4 kB / 0.8189 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.6351, allocations: 155.8 kB / 0.8191 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003576/0.6355, allocations: 147.3 kB / 0.8192 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.6355, allocations: 12.12 kB / 0.8192 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.6355, allocations: 19.92 kB / 0.8193 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6355, allocations: 96 / 0.8193 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.6374, allocations: 1.468 MB / 0.8207 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.6378, allocations: 275.8 kB / 0.821 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.6379, allocations: 23.91 kB / 0.821 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.6385, allocations: 59.91 kB / 0.821 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6386, allocations: 64.36 kB / 0.8211 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.6387, allocations: 20 kB / 0.8211 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008192/0.6395, allocations: 0.6992 MB / 0.8218 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6395, allocations: 0 / 0.8218 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001278/0.6408, allocations: 392 kB / 0.8222 GB, free: 5.777 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.641, allocations: 127.1 kB / 0.8223 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.6437, allocations: 2.018 MB / 0.8243 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6437, allocations: 0 / 0.8243 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/0.6447, allocations: 0.8562 MB / 0.8251 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.6461, allocations: 271.1 kB / 0.8254 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.6518, allocations: 3.823 MB / 0.8291 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.6537, allocations: 1.916 MB / 0.831 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00121/0.6549, allocations: 449.6 kB / 0.8314 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.6551, allocations: 83.42 kB / 0.8315 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of SimCode: time 1.072e-06/0.6551, allocations: 0 / 0.8315 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.02771/0.6829, allocations: 13.28 MB / 0.8444 GB, free: 14.84 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)