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.004826/0.004826, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001289/0.001289, allocations: 202.5 kB / 16.68 MB, free: 5.973 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 278 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003187/0.003187, allocations: 96.36 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1924, allocations: 86.96 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.3729/0.5654, allocations: 16 MB / 0.7815 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008973/0.5744, allocations: 4.824 MB / 0.7862 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.5762, allocations: 65.25 kB / 0.7863 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.5792, allocations: 1.048 MB / 0.7873 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.5818, allocations: 0.7396 MB / 0.788 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.5848, allocations: 0.9173 MB / 0.7889 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004862/0.5897, allocations: 3.621 MB / 0.7925 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006079/0.5958, allocations: 4.759 MB / 0.7971 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.5999, allocations: 1.58 MB / 0.7987 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004601/0.6045, allocations: 1.787 MB / 0.8004 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002087/0.6066, allocations: 339.7 kB / 0.8007 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.6106, allocations: 0.7924 MB / 0.8015 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00451/0.6152, allocations: 1.336 MB / 0.8028 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005236/0.6205, allocations: 1.458 MB / 0.8042 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.6311, allocations: 5.149 MB / 0.8093 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.6311, allocations: 1.219 kB / 0.8093 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6311, allocations: 0 / 0.8093 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001947/0.6313, allocations: 0 / 0.8093 GB, free: 11.65 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.01095/0.6423, allocations: 2.712 MB / 0.8119 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.6424, allocations: 9.625 kB / 0.8119 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001733/0.6441, allocations: 376.8 kB / 0.8123 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/0.6497, allocations: 0.8474 MB / 0.8131 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/0.6554, allocations: 1.571 MB / 0.8146 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.6557, allocations: 176 kB / 0.8148 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.6571, allocations: 229.7 kB / 0.815 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.6703, allocations: 4.172 MB / 0.8191 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.6705, allocations: 10.16 kB / 0.8191 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007382/0.6712, allocations: 98.36 kB / 0.8192 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002672/0.6715, allocations: 169.6 kB / 0.8194 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009796/0.6813, allocations: 3.626 MB / 0.8229 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.7093, allocations: 16.45 MB / 0.839 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00408/0.7134, allocations: 2.293 MB / 0.8412 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009631/0.7144, allocations: 0.5893 MB / 0.8418 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.7146, allocations: 93.88 kB / 0.8419 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.7147, allocations: 42.12 kB / 0.8419 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.7147, allocations: 0 / 0.8419 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.00698/0.7217, allocations: 3.5 MB / 0.8453 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.7218, allocations: 115.4 kB / 0.8454 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.7236, allocations: 1.017 MB / 0.8464 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.7237, allocations: 37.7 kB / 0.8465 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009212/0.7246, allocations: 1.142 MB / 0.8476 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.725, allocations: 289.6 kB / 0.8479 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004761/0.7254, allocations: 283.4 kB / 0.8481 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002602/0.7257, allocations: 418.7 kB / 0.8485 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000994/0.7267, allocations: 0.6167 MB / 0.8491 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.7282, allocations: 1.189 MB / 0.8503 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/0.7308, allocations: 1.86 MB / 0.8521 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.7308, allocations: 4 kB / 0.8521 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003512/0.7343, allocations: 2.019 MB / 0.8541 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.7344, allocations: 16 kB / 0.8541 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.7344, allocations: 16 kB / 0.8541 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/0.7349, allocations: 163.3 kB / 0.8543 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.7361, allocations: 343.4 kB / 0.8546 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.101e-05/0.7361, allocations: 39.86 kB / 0.8546 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.7373, allocations: 131.9 kB / 0.8548 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.7375, allocations: 75.92 kB / 0.8548 GB, free: 6.512 MB / 0.6075 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.001762/0.7392, allocations: 0.9739 MB / 0.8558 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.7395, allocations: 119.2 kB / 0.8559 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.7419, allocations: 1.23 MB / 0.8571 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.7419, allocations: 8 kB / 0.8571 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7419, allocations: 4 kB / 0.8571 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.7419, allocations: 7.922 kB / 0.8571 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006281/0.7482, allocations: 3.798 MB / 0.8608 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.7482, allocations: 12 kB / 0.8608 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/0.7489, allocations: 159.8 kB / 0.861 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.7493, allocations: 135.4 kB / 0.8611 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.7494, allocations: 16 kB / 0.8611 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.7494, allocations: 7.938 kB / 0.8612 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.7494, allocations: 11.92 kB / 0.8612 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.7516, allocations: 1.47 MB / 0.8626 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005593/0.7522, allocations: 280.3 kB / 0.8629 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.7523, allocations: 16 kB / 0.8629 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006027/0.753, allocations: 67.91 kB / 0.8629 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.7531, allocations: 60.36 kB / 0.863 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.7532, allocations: 27.98 kB / 0.863 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001066/0.7543, allocations: 0.6953 MB / 0.8637 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7543, allocations: 0 / 0.8637 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001622/0.7559, allocations: 384 kB / 0.8641 GB, free: 12.77 MB / 0.6231 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.00272/0.7586, allocations: 2.053 MB / 0.8661 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.7613, allocations: 1.719 MB / 0.8678 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7613, allocations: 4.25 kB / 0.8678 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.7624, allocations: 0.8541 MB / 0.8686 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.7642, allocations: 267.2 kB / 0.8689 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/0.7877, allocations: 12.9 MB / 0.8815 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.79, allocations: 1.92 MB / 0.8833 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001294/0.7914, allocations: 453.6 kB / 0.8838 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.7925, allocations: 0.7102 MB / 0.8845 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of SimCode: time 1.382e-06/0.7926, allocations: 4 kB / 0.8845 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/0.8597, allocations: 27.9 MB / 0.9117 GB, free: 11.35 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.32, allocations: 12.38 kB / 0.9117 GB, free: 11.34 MB / 0.67 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)