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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007749/0.007749, allocations: 98.92 kB / 15.73 MB, free: 6.004 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.001868/0.001868, allocations: 192.6 kB / 16.67 MB, free: 5.922 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 298.4 kB / 290.8 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 1.092/1.092, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002976/0.002976, allocations: 103.8 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.418, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01999/0.438, allocations: 16 MB / 0.7815 GB, free: 3.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007957/0.446, allocations: 4.824 MB / 0.7862 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006299/0.4466, allocations: 63.69 kB / 0.7863 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.4492, allocations: 1.042 MB / 0.7873 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.4507, allocations: 0.7425 MB / 0.788 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.4528, allocations: 0.9227 MB / 0.7889 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003942/0.4568, allocations: 3.618 MB / 0.7925 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005613/0.4624, allocations: 4.765 MB / 0.7971 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.4646, allocations: 1.582 MB / 0.7987 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.467, allocations: 1.776 MB / 0.8004 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004936/0.4675, allocations: 340 kB / 0.8007 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.469, allocations: 0.7997 MB / 0.8015 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.4704, allocations: 1.326 MB / 0.8028 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.472, allocations: 1.459 MB / 0.8042 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.4775, allocations: 5.137 MB / 0.8092 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4775, allocations: 4 kB / 0.8093 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4775, allocations: 0 / 0.8093 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.318e-05/0.4776, allocations: 4 kB / 0.8093 GB, free: 7.273 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.004814/0.4824, allocations: 2.713 MB / 0.8119 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4825, allocations: 16.03 kB / 0.8119 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004891/0.483, allocations: 370.5 kB / 0.8123 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/0.4869, allocations: 0.8498 MB / 0.8131 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.49, allocations: 1.576 MB / 0.8146 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.4902, allocations: 177.1 kB / 0.8148 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.4906, allocations: 228.4 kB / 0.815 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006767/0.4973, allocations: 4.167 MB / 0.8191 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.4974, allocations: 4 kB / 0.8191 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.4977, allocations: 95.98 kB / 0.8192 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/0.4979, allocations: 168.5 kB / 0.8194 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005719/0.5036, allocations: 3.643 MB / 0.8229 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.5224, allocations: 16.45 MB / 0.839 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.5259, allocations: 2.294 MB / 0.8412 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008903/0.5268, allocations: 0.578 MB / 0.8418 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.527, allocations: 97.66 kB / 0.8419 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.527, allocations: 43.12 kB / 0.8419 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/0.527, allocations: 0 / 0.8419 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.005663/0.5327, allocations: 3.499 MB / 0.8453 GB, free: 300 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.5328, allocations: 115.5 kB / 0.8454 GB, free: 160 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.5342, allocations: 1.018 MB / 0.8464 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.5342, allocations: 41.7 kB / 0.8465 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008078/0.535, allocations: 1.134 MB / 0.8476 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.5353, allocations: 293.6 kB / 0.8479 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/0.5357, allocations: 283.4 kB / 0.8481 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002415/0.536, allocations: 418.7 kB / 0.8485 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009672/0.5369, allocations: 0.6128 MB / 0.8491 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.5384, allocations: 1.193 MB / 0.8503 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/0.5409, allocations: 1.852 MB / 0.8521 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.5409, allocations: 15.94 kB / 0.8521 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003298/0.5442, allocations: 2.023 MB / 0.8541 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.5442, allocations: 16 kB / 0.8541 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.5443, allocations: 16.62 kB / 0.8541 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.5447, allocations: 163.3 kB / 0.8543 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5459, allocations: 347.4 kB / 0.8546 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.052e-05/0.5459, allocations: 43.8 kB / 0.8547 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.5469, allocations: 127.8 kB / 0.8548 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.5471, allocations: 71.98 kB / 0.8549 GB, free: 5.898 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.001382/0.5485, allocations: 0.9693 MB / 0.8558 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.5487, allocations: 119.2 kB / 0.8559 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.5508, allocations: 1.23 MB / 0.8571 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.5508, allocations: 12 kB / 0.8571 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.5509, allocations: 4 kB / 0.8571 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.5509, allocations: 3.984 kB / 0.8571 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005728/0.5566, allocations: 3.802 MB / 0.8608 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.5566, allocations: 4 kB / 0.8608 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.5573, allocations: 155.8 kB / 0.861 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.5576, allocations: 143.5 kB / 0.8611 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.5577, allocations: 20 kB / 0.8612 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.5577, allocations: 7.938 kB / 0.8612 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5577, allocations: 4 kB / 0.8612 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.5597, allocations: 1.474 MB / 0.8626 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.5602, allocations: 276.3 kB / 0.8629 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.5603, allocations: 20 kB / 0.8629 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.561, allocations: 59.91 kB / 0.8629 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.5611, allocations: 68.36 kB / 0.863 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.5612, allocations: 23.98 kB / 0.863 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009178/0.5621, allocations: 0.6953 MB / 0.8637 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5621, allocations: 0 / 0.8637 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001612/0.5637, allocations: 384 kB / 0.8641 GB, free: 12.18 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.002447/0.5662, allocations: 2.045 MB / 0.8661 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.5686, allocations: 1.727 MB / 0.8678 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5686, allocations: 0 / 0.8678 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.5697, allocations: 0.855 MB / 0.8686 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.5712, allocations: 273.9 kB / 0.8689 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.5894, allocations: 12.9 MB / 0.8815 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/0.5915, allocations: 1.916 MB / 0.8833 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001061/0.5925, allocations: 449.4 kB / 0.8838 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009631/0.5935, allocations: 0.7192 MB / 0.8845 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.5935, allocations: 0 / 0.8845 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0615/0.655, allocations: 27.9 MB / 0.9117 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.31, allocations: 7.375 kB / 0.9117 GB, free: 10.75 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)