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.001292/0.001293, allocations: 105.2 kB / 15.98 MB, free: 6.355 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.001256/0.001256, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.281/1.281, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 290 kB / 291 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9131/0.9131, allocations: 169.2 MB / 0.4985 GB, free: 4.656 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 93.38 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1671, allocations: 86.97 MB / 0.6803 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.2921/0.4592, allocations: 15.89 MB / 0.6958 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.467, allocations: 4.786 MB / 0.7005 GB, free: 8.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.4688, allocations: 58.59 kB / 0.7005 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.4715, allocations: 0.9584 MB / 0.7015 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.4741, allocations: 0.6901 MB / 0.7021 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.4766, allocations: 0.8362 MB / 0.703 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004384/0.481, allocations: 3.621 MB / 0.7065 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0085/0.4895, allocations: 5.849 MB / 0.7122 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.4926, allocations: 1.604 MB / 0.7138 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.496, allocations: 1.862 MB / 0.7156 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.4971, allocations: 340.2 kB / 0.7159 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.4993, allocations: 0.801 MB / 0.7167 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.5015, allocations: 1.324 MB / 0.718 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.5046, allocations: 1.452 MB / 0.7194 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007778/0.5123, allocations: 4.413 MB / 0.7237 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.5124, allocations: 0 / 0.7237 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5124, allocations: 0 / 0.7237 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001935/0.5126, allocations: 5.062 kB / 0.7237 GB, free: 14.01 MB / 0.4981 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.008384/0.521, allocations: 2.641 MB / 0.7263 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.5211, allocations: 12.56 kB / 0.7263 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.5257, allocations: 0.8346 MB / 0.7271 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.5298, allocations: 1.495 MB / 0.7286 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.53, allocations: 176.7 kB / 0.7288 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008816/0.5309, allocations: 237.6 kB / 0.729 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.5433, allocations: 4.164 MB / 0.733 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/0.5435, allocations: 6.344 kB / 0.7331 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006562/0.5442, allocations: 97.7 kB / 0.7331 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004211/0.5446, allocations: 174.5 kB / 0.7333 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008782/0.5534, allocations: 3.634 MB / 0.7369 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.5754, allocations: 16.55 MB / 0.753 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.5785, allocations: 2.285 MB / 0.7553 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.5793, allocations: 0.578 MB / 0.7558 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.5795, allocations: 93.66 kB / 0.7559 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5796, allocations: 47.06 kB / 0.756 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/0.5796, allocations: 4 kB / 0.756 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76): time 0.005596/0.5852, allocations: 3.428 MB / 0.7593 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.5853, allocations: 111.5 kB / 0.7594 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.5866, allocations: 1.018 MB / 0.7604 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.5866, allocations: 37.7 kB / 0.7604 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.5873, allocations: 1.099 MB / 0.7615 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.5875, allocations: 276.1 kB / 0.7618 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003924/0.5879, allocations: 279.2 kB / 0.762 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5881, allocations: 414.7 kB / 0.7624 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009189/0.5891, allocations: 0.6128 MB / 0.763 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.5903, allocations: 1.185 MB / 0.7642 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.5924, allocations: 1.872 MB / 0.766 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.5924, allocations: 4 kB / 0.766 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003066/0.5955, allocations: 2.018 MB / 0.768 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.5955, allocations: 15.94 kB / 0.768 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.5956, allocations: 23.94 kB / 0.768 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.596, allocations: 163.8 kB / 0.7682 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.5971, allocations: 347.4 kB / 0.7685 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/0.5971, allocations: 39.86 kB / 0.7686 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.5982, allocations: 127.7 kB / 0.7687 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.5983, allocations: 71.98 kB / 0.7688 GB, free: 3.297 MB / 0.5294 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.001635/0.6, allocations: 0.9732 MB / 0.7697 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.6002, allocations: 114.6 kB / 0.7698 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.6022, allocations: 1.226 MB / 0.771 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.6022, allocations: 15.88 kB / 0.771 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6022, allocations: 3.984 kB / 0.771 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.6022, allocations: 4 kB / 0.771 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.6076, allocations: 3.807 MB / 0.7747 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.6076, allocations: 4 kB / 0.7748 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.6082, allocations: 155.8 kB / 0.7749 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.6085, allocations: 147.6 kB / 0.775 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.6086, allocations: 16 kB / 0.7751 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.6086, allocations: 11.92 kB / 0.7751 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6086, allocations: 7.938 kB / 0.7751 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.6105, allocations: 1.461 MB / 0.7765 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.611, allocations: 271.7 kB / 0.7768 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.6112, allocations: 23.98 kB / 0.7768 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/0.6117, allocations: 63.91 kB / 0.7768 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.6119, allocations: 68.3 kB / 0.7769 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.6119, allocations: 24 kB / 0.7769 GB, free: 10.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000923/0.6128, allocations: 0.6992 MB / 0.7776 GB, free: 9.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6129, allocations: 0 / 0.7776 GB, free: 9.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001536/0.6144, allocations: 388 kB / 0.778 GB, free: 9.562 MB / 0.545 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.0002056/0.6146, allocations: 123.1 kB / 0.7781 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003141/0.6178, allocations: 2.019 MB / 0.7801 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6178, allocations: 0.9375 kB / 0.7801 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009375/0.6187, allocations: 0.866 MB / 0.7809 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.6202, allocations: 267.1 kB / 0.7812 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007482/0.6277, allocations: 5.176 MB / 0.7862 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.6295, allocations: 1.966 MB / 0.7882 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.6299, allocations: 95.42 kB / 0.7882 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.6299, allocations: 0 / 0.7882 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.09335/0.7233, allocations: 73.3 MB / 0.8598 GB, free: 5.48 MB / 0.6231 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)