Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001577/0.001577, allocations: 107.9 kB / 16.41 MB, free: 6.492 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.001679/0.001679, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002455/0.002455, allocations: 290.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.998/0.998, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.417, allocations: 86.97 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02212/0.4392, allocations: 16.02 MB / 0.7827 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008828/0.448, allocations: 4.84 MB / 0.7874 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009438/0.4489, allocations: 67.69 kB / 0.7875 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.4518, allocations: 1.057 MB / 0.7885 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.4537, allocations: 0.7738 MB / 0.7893 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.456, allocations: 0.9254 MB / 0.7902 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004357/0.4604, allocations: 3.63 MB / 0.7937 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004568/0.465, allocations: 3.539 MB / 0.7972 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.4674, allocations: 1.593 MB / 0.7987 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.4697, allocations: 1.784 MB / 0.8005 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000497/0.4702, allocations: 336 kB / 0.8008 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.4717, allocations: 0.7959 MB / 0.8016 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.4732, allocations: 1.364 MB / 0.8029 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.4749, allocations: 1.459 MB / 0.8043 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005931/0.4808, allocations: 5.142 MB / 0.8094 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4808, allocations: 3.938 kB / 0.8094 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4808, allocations: 0 / 0.8094 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.626e-05/0.4809, allocations: 0 / 0.8094 GB, free: 8.422 MB / 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.005063/0.486, allocations: 2.717 MB / 0.812 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.486, allocations: 8.031 kB / 0.812 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.4901, allocations: 0.8382 MB / 0.8128 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.4933, allocations: 1.58 MB / 0.8144 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.4935, allocations: 181.1 kB / 0.8146 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004413/0.4939, allocations: 228.4 kB / 0.8148 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00699/0.5009, allocations: 4.169 MB / 0.8189 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.501, allocations: 4 kB / 0.8189 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/0.5012, allocations: 99.98 kB / 0.8189 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002109/0.5014, allocations: 176.5 kB / 0.8191 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005923/0.5074, allocations: 3.625 MB / 0.8227 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.5268, allocations: 16.45 MB / 0.8387 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/0.5304, allocations: 2.226 MB / 0.8409 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008997/0.5313, allocations: 0.5469 MB / 0.8414 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.5315, allocations: 97.64 kB / 0.8415 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.5315, allocations: 43.12 kB / 0.8416 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.5315, allocations: 0 / 0.8416 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.005747/0.5373, allocations: 3.506 MB / 0.845 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.5373, allocations: 111.5 kB / 0.8451 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.5387, allocations: 1.018 MB / 0.8461 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.5388, allocations: 37.7 kB / 0.8461 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008556/0.5396, allocations: 1.138 MB / 0.8472 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.5399, allocations: 289.6 kB / 0.8475 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.5403, allocations: 283.4 kB / 0.8478 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002426/0.5405, allocations: 410.7 kB / 0.8482 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009923/0.5415, allocations: 0.6207 MB / 0.8488 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.543, allocations: 1.189 MB / 0.8499 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.5455, allocations: 1.864 MB / 0.8518 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.5455, allocations: 4 kB / 0.8518 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003331/0.5488, allocations: 2.015 MB / 0.8537 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.5488, allocations: 20.19 kB / 0.8538 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.5488, allocations: 16 kB / 0.8538 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.5493, allocations: 175.1 kB / 0.8539 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.5505, allocations: 347.4 kB / 0.8543 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-05/0.5505, allocations: 35.86 kB / 0.8543 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.5515, allocations: 127.8 kB / 0.8544 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.5516, allocations: 71.98 kB / 0.8545 GB, free: 7.523 MB / 0.6231 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.001395/0.553, allocations: 0.9717 MB / 0.8554 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.5532, allocations: 123.2 kB / 0.8556 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.5554, allocations: 1.23 MB / 0.8568 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5554, allocations: 8 kB / 0.8568 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.5554, allocations: 4 kB / 0.8568 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5554, allocations: 3.984 kB / 0.8568 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.5615, allocations: 3.798 MB / 0.8605 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5615, allocations: 256 / 0.8605 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.5621, allocations: 163.8 kB / 0.8606 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003656/0.5625, allocations: 139.3 kB / 0.8608 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.5625, allocations: 16 kB / 0.8608 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.5626, allocations: 7.938 kB / 0.8608 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5626, allocations: 4 kB / 0.8608 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.565, allocations: 1.474 MB / 0.8622 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.5655, allocations: 276.2 kB / 0.8625 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5656, allocations: 20 kB / 0.8625 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.5662, allocations: 63.91 kB / 0.8626 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5664, allocations: 64.36 kB / 0.8626 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.5664, allocations: 27.98 kB / 0.8627 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009697/0.5674, allocations: 0.6914 MB / 0.8633 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5674, allocations: 0 / 0.8633 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001356/0.5688, allocations: 388 kB / 0.8637 GB, free: 13.8 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.0002063/0.569, allocations: 136.8 kB / 0.8638 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.5715, allocations: 1.668 MB / 0.8655 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5715, allocations: 0 / 0.8655 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.5726, allocations: 0.8228 MB / 0.8663 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.574, allocations: 276.5 kB / 0.8665 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.5804, allocations: 3.834 MB / 0.8703 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/0.5823, allocations: 1.912 MB / 0.8722 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001093/0.5834, allocations: 453.6 kB / 0.8726 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.5837, allocations: 87.36 kB / 0.8727 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/0.5837, allocations: 0 / 0.8727 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of Templates: time 0.02743/0.6111, allocations: 13.75 MB / 0.8861 GB, free: 6.762 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)