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.001394/0.001394, allocations: 109.6 kB / 16.41 MB, free: 6.406 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.001282/0.001283, allocations: 190.1 kB / 17.34 MB, free: 5.695 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002338/0.002338, allocations: 301.6 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9812/0.9812, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4388, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01938/0.4582, allocations: 15.99 MB / 0.7827 GB, free: 3.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007985/0.4663, allocations: 4.832 MB / 0.7874 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.4676, allocations: 67.69 kB / 0.7874 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.4704, allocations: 1.04 MB / 0.7885 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.4724, allocations: 0.7425 MB / 0.7892 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.4748, allocations: 0.9213 MB / 0.7901 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003918/0.4787, allocations: 3.618 MB / 0.7936 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005684/0.4844, allocations: 4.765 MB / 0.7983 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.4867, allocations: 1.586 MB / 0.7998 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.4895, allocations: 1.788 MB / 0.8016 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008381/0.4904, allocations: 340 kB / 0.8019 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.4923, allocations: 0.7958 MB / 0.8027 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.4939, allocations: 1.326 MB / 0.804 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002314/0.4963, allocations: 1.455 MB / 0.8054 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.5017, allocations: 5.129 MB / 0.8104 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5017, allocations: 0 / 0.8104 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5018, allocations: 3.938 kB / 0.8104 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.00014/0.5019, allocations: 0 / 0.8104 GB, free: 7.379 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.005953/0.5079, allocations: 2.651 MB / 0.813 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5079, allocations: 8.031 kB / 0.813 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/0.5122, allocations: 0.8407 MB / 0.8138 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.515, allocations: 1.568 MB / 0.8153 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.5151, allocations: 181.1 kB / 0.8155 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005536/0.5157, allocations: 232.4 kB / 0.8157 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006992/0.5227, allocations: 4.163 MB / 0.8198 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.5227, allocations: 4 kB / 0.8198 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.523, allocations: 95.98 kB / 0.8199 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001862/0.5232, allocations: 172.5 kB / 0.8201 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005429/0.5286, allocations: 3.632 MB / 0.8236 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.5451, allocations: 16.43 MB / 0.8397 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.5484, allocations: 2.299 MB / 0.8419 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008255/0.5492, allocations: 0.5771 MB / 0.8425 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.5494, allocations: 101.7 kB / 0.8426 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5494, allocations: 35.12 kB / 0.8426 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.5494, allocations: 8 kB / 0.8426 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.005354/0.5548, allocations: 3.424 MB / 0.8459 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.5549, allocations: 111.5 kB / 0.8461 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.5561, allocations: 1.018 MB / 0.847 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.5562, allocations: 41.69 kB / 0.8471 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/0.5569, allocations: 1.107 MB / 0.8482 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.5572, allocations: 272.3 kB / 0.8484 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/0.5576, allocations: 283.2 kB / 0.8487 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5578, allocations: 410.7 kB / 0.8491 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009474/0.5588, allocations: 0.6129 MB / 0.8497 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.5601, allocations: 1.189 MB / 0.8508 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.5623, allocations: 1.872 MB / 0.8527 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.5623, allocations: 4 kB / 0.8527 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002993/0.5653, allocations: 2.014 MB / 0.8546 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5654, allocations: 12 kB / 0.8547 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.5654, allocations: 20 kB / 0.8547 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.5658, allocations: 171.7 kB / 0.8548 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.5669, allocations: 343.4 kB / 0.8552 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-05/0.5669, allocations: 35.86 kB / 0.8552 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/0.5679, allocations: 131.7 kB / 0.8553 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.568, allocations: 64 kB / 0.8554 GB, free: 6.613 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.001304/0.5693, allocations: 0.981 MB / 0.8563 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.5696, allocations: 106.7 kB / 0.8564 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.5717, allocations: 1.23 MB / 0.8576 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.5717, allocations: 11.94 kB / 0.8577 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5717, allocations: 0 / 0.8577 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5717, allocations: 3.984 kB / 0.8577 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/0.5771, allocations: 3.81 MB / 0.8614 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5771, allocations: 4 kB / 0.8614 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.5777, allocations: 155.8 kB / 0.8615 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.5781, allocations: 147.6 kB / 0.8617 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.5782, allocations: 16 kB / 0.8617 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.5782, allocations: 11.94 kB / 0.8617 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5782, allocations: 0 / 0.8617 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.5801, allocations: 1.469 MB / 0.8631 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.5805, allocations: 267.8 kB / 0.8634 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5807, allocations: 20 kB / 0.8634 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.5813, allocations: 59.91 kB / 0.8635 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.5814, allocations: 64.36 kB / 0.8635 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.5815, allocations: 20 kB / 0.8636 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008806/0.5824, allocations: 0.6992 MB / 0.8642 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5824, allocations: 4 kB / 0.8642 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001313/0.5837, allocations: 388 kB / 0.8646 GB, free: 12.89 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.0002019/0.5839, allocations: 127.1 kB / 0.8647 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.5862, allocations: 1.717 MB / 0.8664 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5862, allocations: 1.812 kB / 0.8664 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009679/0.5872, allocations: 0.8703 MB / 0.8673 GB, free: 10 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.5887, allocations: 265.7 kB / 0.8675 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/0.5955, allocations: 4.133 MB / 0.8715 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.5975, allocations: 1.963 MB / 0.8735 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.5979, allocations: 99.36 kB / 0.8736 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/0.5979, allocations: 3.938 kB / 0.8736 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of Templates: time 0.07616/0.6741, allocations: 73.44 MB / 0.9453 GB, free: 9.996 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)