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.004937/0.004937, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001212/0.001213, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 290.9 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.9122/0.9122, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 99.84 kB / 0.6814 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4156, allocations: 86.98 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01819/0.4338, allocations: 15.99 MB / 0.782 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007853/0.4417, allocations: 4.824 MB / 0.7867 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.4431, allocations: 67.69 kB / 0.7868 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.4458, allocations: 1.049 MB / 0.7878 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.4479, allocations: 0.7777 MB / 0.7886 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.4503, allocations: 0.9118 MB / 0.7895 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004098/0.4544, allocations: 3.63 MB / 0.793 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005844/0.4603, allocations: 4.757 MB / 0.7977 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.4626, allocations: 1.589 MB / 0.7992 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.4652, allocations: 1.784 MB / 0.8009 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007542/0.466, allocations: 340 kB / 0.8013 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.4679, allocations: 0.7959 MB / 0.802 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.4696, allocations: 1.322 MB / 0.8033 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.4713, allocations: 1.463 MB / 0.8048 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004248/0.4756, allocations: 5.129 MB / 0.8098 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4756, allocations: 0 / 0.8098 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4756, allocations: 0 / 0.8098 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.214e-05/0.4757, allocations: 0 / 0.8098 GB, free: 7.316 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.004203/0.4799, allocations: 2.651 MB / 0.8124 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.4799, allocations: 12.03 kB / 0.8124 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.4836, allocations: 0.8367 MB / 0.8132 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.4859, allocations: 1.572 MB / 0.8147 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.4861, allocations: 173.1 kB / 0.8149 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.4864, allocations: 232.4 kB / 0.8151 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005756/0.4922, allocations: 4.165 MB / 0.8192 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/0.4922, allocations: 7.938 kB / 0.8192 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.4925, allocations: 104 kB / 0.8193 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.4927, allocations: 168.5 kB / 0.8194 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005209/0.4979, allocations: 3.625 MB / 0.823 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.5143, allocations: 16.43 MB / 0.839 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.5175, allocations: 2.295 MB / 0.8413 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.5183, allocations: 0.5819 MB / 0.8418 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.5185, allocations: 97.66 kB / 0.8419 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5185, allocations: 43.06 kB / 0.842 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.5185, allocations: 0 / 0.842 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.005381/0.5239, allocations: 3.428 MB / 0.8453 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.524, allocations: 111.5 kB / 0.8454 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.5253, allocations: 1.026 MB / 0.8464 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.5254, allocations: 33.7 kB / 0.8465 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/0.5261, allocations: 1.099 MB / 0.8475 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.5263, allocations: 272.3 kB / 0.8478 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/0.5267, allocations: 283.2 kB / 0.8481 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5269, allocations: 410.7 kB / 0.8485 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008869/0.5278, allocations: 0.6207 MB / 0.8491 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.5291, allocations: 1.185 MB / 0.8502 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.5313, allocations: 1.872 MB / 0.8521 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.5314, allocations: 4 kB / 0.8521 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002989/0.5344, allocations: 2.015 MB / 0.854 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.5344, allocations: 20.09 kB / 0.854 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.5344, allocations: 20 kB / 0.8541 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004131/0.5348, allocations: 163.3 kB / 0.8542 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.5359, allocations: 343.4 kB / 0.8545 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-05/0.536, allocations: 43.86 kB / 0.8546 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/0.5369, allocations: 131.6 kB / 0.8547 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.537, allocations: 67.98 kB / 0.8548 GB, free: 6.535 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.001336/0.5383, allocations: 0.9733 MB / 0.8557 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.5385, allocations: 114.7 kB / 0.8558 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.5405, allocations: 1.226 MB / 0.857 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.5405, allocations: 11.94 kB / 0.857 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5405, allocations: 0 / 0.857 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.5405, allocations: 7.984 kB / 0.8571 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/0.5456, allocations: 3.794 MB / 0.8608 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.5456, allocations: 4 kB / 0.8608 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.5462, allocations: 164 kB / 0.8609 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/0.5465, allocations: 143.3 kB / 0.8611 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.5466, allocations: 12 kB / 0.8611 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.5466, allocations: 11.94 kB / 0.8611 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5466, allocations: 4 kB / 0.8611 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.5484, allocations: 1.469 MB / 0.8625 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.5488, allocations: 263.8 kB / 0.8628 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5489, allocations: 24 kB / 0.8628 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.5494, allocations: 67.91 kB / 0.8629 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5496, allocations: 60.36 kB / 0.8629 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.5496, allocations: 24 kB / 0.8629 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008293/0.5505, allocations: 0.6992 MB / 0.8636 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5505, allocations: 0 / 0.8636 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001272/0.5517, allocations: 384 kB / 0.864 GB, free: 12.82 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.0001854/0.5519, allocations: 137.9 kB / 0.8641 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.5541, allocations: 1.719 MB / 0.8658 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5541, allocations: 0 / 0.8658 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000876/0.555, allocations: 0.858 MB / 0.8666 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.5563, allocations: 275.8 kB / 0.8669 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.5619, allocations: 3.772 MB / 0.8706 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.5635, allocations: 1.916 MB / 0.8724 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009817/0.5645, allocations: 449.4 kB / 0.8729 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.5647, allocations: 79.42 kB / 0.873 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.5647, allocations: 0 / 0.873 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of Templates: time 0.03046/0.5951, allocations: 13.67 MB / 0.8863 GB, free: 5.855 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)