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.0053/0.0053, allocations: 102.4 kB / 15.73 MB, free: 6.012 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.001235/0.001235, allocations: 197.7 kB / 16.68 MB, free: 5.93 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.0021, allocations: 294.1 kB / 290.8 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.92/0.92, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 91.86 kB / 0.6814 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4176, allocations: 86.98 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01749/0.4351, allocations: 16 MB / 0.782 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007631/0.4428, allocations: 4.813 MB / 0.7867 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008536/0.4437, allocations: 63.69 kB / 0.7868 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.4462, allocations: 1.057 MB / 0.7878 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.4477, allocations: 0.7776 MB / 0.7886 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.4496, allocations: 0.9178 MB / 0.7895 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002979/0.4526, allocations: 3.63 MB / 0.793 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004611/0.4572, allocations: 4.757 MB / 0.7977 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.4591, allocations: 1.589 MB / 0.7992 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.461, allocations: 1.788 MB / 0.801 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.4613, allocations: 340 kB / 0.8013 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.4626, allocations: 0.7997 MB / 0.8021 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.4637, allocations: 1.322 MB / 0.8033 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.4652, allocations: 1.459 MB / 0.8048 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004548/0.4698, allocations: 5.129 MB / 0.8098 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4698, allocations: 0 / 0.8098 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4698, allocations: 0 / 0.8098 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.828e-05/0.4699, allocations: 0 / 0.8098 GB, free: 7.289 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.004513/0.4744, allocations: 2.65 MB / 0.8124 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4745, allocations: 12.02 kB / 0.8124 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.4784, allocations: 0.8368 MB / 0.8132 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.4808, allocations: 1.568 MB / 0.8147 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.4809, allocations: 177.1 kB / 0.8149 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.4812, allocations: 228.4 kB / 0.8151 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00612/0.4874, allocations: 4.167 MB / 0.8192 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.4874, allocations: 7.938 kB / 0.8192 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.4877, allocations: 95.98 kB / 0.8193 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.4879, allocations: 168.5 kB / 0.8194 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00537/0.4933, allocations: 3.64 MB / 0.823 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.5086, allocations: 16.42 MB / 0.839 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.5117, allocations: 2.296 MB / 0.8413 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.5125, allocations: 0.5818 MB / 0.8418 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.5126, allocations: 93.66 kB / 0.8419 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.5127, allocations: 47.11 kB / 0.842 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.5127, allocations: 0 / 0.842 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.00465/0.5173, allocations: 3.424 MB / 0.8453 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.5174, allocations: 115.4 kB / 0.8454 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.5185, allocations: 1.018 MB / 0.8464 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.5185, allocations: 41.77 kB / 0.8465 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/0.5192, allocations: 1.107 MB / 0.8475 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.5194, allocations: 268.3 kB / 0.8478 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.5197, allocations: 283.2 kB / 0.8481 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5199, allocations: 406.7 kB / 0.8485 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008366/0.5207, allocations: 0.6167 MB / 0.8491 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.5219, allocations: 1.189 MB / 0.8502 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.5239, allocations: 1.868 MB / 0.8521 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.5239, allocations: 4 kB / 0.8521 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00277/0.5267, allocations: 2.018 MB / 0.854 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.5267, allocations: 16 kB / 0.854 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.5267, allocations: 19.94 kB / 0.8541 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.5271, allocations: 164 kB / 0.8542 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.5282, allocations: 339.4 kB / 0.8545 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-05/0.5283, allocations: 47.8 kB / 0.8546 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008363/0.5291, allocations: 135.6 kB / 0.8547 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.5292, allocations: 68 kB / 0.8548 GB, free: 6.512 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.001075/0.5303, allocations: 0.9771 MB / 0.8557 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.5305, allocations: 106.7 kB / 0.8558 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.5324, allocations: 1.222 MB / 0.857 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.5324, allocations: 11.94 kB / 0.857 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.5324, allocations: 4 kB / 0.857 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5324, allocations: 7.984 kB / 0.8571 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004752/0.5372, allocations: 3.794 MB / 0.8608 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5372, allocations: 7.984 kB / 0.8608 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.5378, allocations: 155.8 kB / 0.8609 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.5381, allocations: 143.6 kB / 0.8611 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.5382, allocations: 19.98 kB / 0.8611 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.5382, allocations: 7.938 kB / 0.8611 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5382, allocations: 4 kB / 0.8611 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.54, allocations: 1.465 MB / 0.8625 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.5403, allocations: 271.8 kB / 0.8628 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.5405, allocations: 24 kB / 0.8628 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.541, allocations: 63.91 kB / 0.8629 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.5412, allocations: 56.42 kB / 0.8629 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.5412, allocations: 31.88 kB / 0.8629 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007757/0.542, allocations: 0.7031 MB / 0.8636 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.542, allocations: 0 / 0.8636 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001091/0.5431, allocations: 384 kB / 0.864 GB, free: 12.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.0001747/0.5433, allocations: 123.1 kB / 0.8641 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.5453, allocations: 1.719 MB / 0.8658 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5453, allocations: 4 kB / 0.8658 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009278/0.5463, allocations: 0.8668 MB / 0.8666 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.5476, allocations: 266.3 kB / 0.8669 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.5538, allocations: 3.772 MB / 0.8706 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.5557, allocations: 1.92 MB / 0.8724 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001093/0.5568, allocations: 461.3 kB / 0.8729 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.5571, allocations: 75.44 kB / 0.873 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/0.5571, allocations: 0 / 0.873 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of Templates: time 0.02477/0.5818, allocations: 13.65 MB / 0.8863 GB, free: 5.844 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)