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.001275/0.001275, allocations: 108.9 kB / 16.37 MB, free: 6.016 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.001175/0.001175, allocations: 197.2 kB / 17.31 MB, free: 5.613 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 284.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 90.45 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1451, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.2535/0.3987, allocations: 15.98 MB / 0.6972 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007391/0.4061, allocations: 4.821 MB / 0.7019 GB, free: 8.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009791/0.4071, allocations: 64.53 kB / 0.702 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.4095, allocations: 1.054 MB / 0.703 GB, free: 7.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.4111, allocations: 0.7443 MB / 0.7038 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.4132, allocations: 0.9092 MB / 0.7046 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003818/0.417, allocations: 3.613 MB / 0.7082 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/0.4225, allocations: 4.773 MB / 0.7128 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.4251, allocations: 1.577 MB / 0.7144 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.4273, allocations: 1.787 MB / 0.7161 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004567/0.4277, allocations: 339.9 kB / 0.7164 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.4293, allocations: 0.7924 MB / 0.7172 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.4306, allocations: 1.332 MB / 0.7185 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.4321, allocations: 1.451 MB / 0.7199 GB, free: 52 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.4373, allocations: 5.135 MB / 0.7249 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4373, allocations: 0 / 0.7249 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4373, allocations: 0 / 0.7249 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.224e-05/0.4374, allocations: 1.281 kB / 0.7249 GB, free: 13.42 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.005392/0.4428, allocations: 2.657 MB / 0.7275 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4428, allocations: 9.438 kB / 0.7276 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.447, allocations: 0.835 MB / 0.7284 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.4508, allocations: 1.569 MB / 0.7299 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.451, allocations: 176.9 kB / 0.7301 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005088/0.4515, allocations: 229.6 kB / 0.7303 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007163/0.4587, allocations: 4.165 MB / 0.7344 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.4587, allocations: 9.969 kB / 0.7344 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.459, allocations: 97.8 kB / 0.7345 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.4592, allocations: 169.4 kB / 0.7346 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005489/0.4647, allocations: 3.634 MB / 0.7382 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/0.4812, allocations: 16.43 MB / 0.7542 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.4844, allocations: 2.276 MB / 0.7564 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/0.4852, allocations: 0.5819 MB / 0.757 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.4853, allocations: 93.66 kB / 0.7571 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.4853, allocations: 39.12 kB / 0.7571 GB, free: 440 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.4853, allocations: 3.938 kB / 0.7571 GB, free: 436 kB / 0.5137 GB Notification: Performance of matching and sorting (n=76): time 0.005212/0.4906, allocations: 3.432 MB / 0.7605 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.4907, allocations: 111.5 kB / 0.7606 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.492, allocations: 1.022 MB / 0.7616 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.492, allocations: 33.7 kB / 0.7616 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006009/0.4926, allocations: 1.103 MB / 0.7627 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.4928, allocations: 276.2 kB / 0.763 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.4932, allocations: 283.3 kB / 0.7632 GB, free: 10 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4934, allocations: 410.7 kB / 0.7636 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/0.4942, allocations: 0.6167 MB / 0.7642 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.4954, allocations: 1.185 MB / 0.7654 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.4975, allocations: 1.864 MB / 0.7672 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4976, allocations: 4 kB / 0.7672 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002891/0.5004, allocations: 2.026 MB / 0.7692 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.5005, allocations: 12 kB / 0.7692 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.5005, allocations: 23.94 kB / 0.7692 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.5009, allocations: 159.3 kB / 0.7694 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.502, allocations: 351.6 kB / 0.7697 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.689e-05/0.5021, allocations: 39.86 kB / 0.7697 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.503, allocations: 123.7 kB / 0.7699 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/0.5031, allocations: 71.98 kB / 0.7699 GB, free: 2.566 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.001361/0.5045, allocations: 0.9771 MB / 0.7709 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.5046, allocations: 110.7 kB / 0.771 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.5066, allocations: 1.226 MB / 0.7722 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.5066, allocations: 12.03 kB / 0.7722 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5066, allocations: 0 / 0.7722 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5066, allocations: 7.969 kB / 0.7722 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.5121, allocations: 3.802 MB / 0.7759 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5121, allocations: 4 kB / 0.7759 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.5127, allocations: 155.8 kB / 0.7761 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003313/0.5131, allocations: 139.3 kB / 0.7762 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.5131, allocations: 12 kB / 0.7762 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/0.5131, allocations: 16 kB / 0.7762 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5131, allocations: 4 kB / 0.7762 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.5149, allocations: 1.469 MB / 0.7777 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.5154, allocations: 271.8 kB / 0.7779 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.5155, allocations: 24 kB / 0.778 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.5161, allocations: 67.91 kB / 0.778 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.5162, allocations: 56.42 kB / 0.7781 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.5163, allocations: 20 kB / 0.7781 GB, free: 9.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008136/0.5171, allocations: 0.6992 MB / 0.7788 GB, free: 9.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.453e-06/0.5171, allocations: 0 / 0.7788 GB, free: 9.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001322/0.5184, allocations: 400 kB / 0.7792 GB, free: 8.84 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.0001808/0.5186, allocations: 128.3 kB / 0.7793 GB, free: 8.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.5207, allocations: 1.718 MB / 0.781 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5207, allocations: 0 / 0.781 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008875/0.5216, allocations: 0.8557 MB / 0.7818 GB, free: 5.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.5229, allocations: 264.3 kB / 0.782 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.5286, allocations: 3.776 MB / 0.7857 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.5302, allocations: 1.916 MB / 0.7876 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001012/0.5313, allocations: 449.5 kB / 0.788 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.5315, allocations: 83.42 kB / 0.7881 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.5315, allocations: 0 / 0.7881 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.02327/0.5548, allocations: 13.28 MB / 0.8011 GB, free: 2.266 MB / 0.5606 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)