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.004389/0.004393, allocations: 95.3 kB / 15.73 MB, free: 6.484 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.001087/0.001087, allocations: 191.1 kB / 16.67 MB, free: 6.391 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 282.7 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9152/0.9152, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 96.34 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1506, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.3595/0.5101, allocations: 16 MB / 0.7815 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006955/0.5171, allocations: 4.823 MB / 0.7862 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.5182, allocations: 65.72 kB / 0.7863 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.5207, allocations: 1.044 MB / 0.7873 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.5225, allocations: 0.7832 MB / 0.7881 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.5247, allocations: 0.9167 MB / 0.789 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.5281, allocations: 3.628 MB / 0.7925 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00486/0.533, allocations: 4.76 MB / 0.7972 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.5361, allocations: 1.601 MB / 0.7987 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/0.54, allocations: 1.777 MB / 0.8005 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.5412, allocations: 339.1 kB / 0.8008 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.5437, allocations: 0.8006 MB / 0.8016 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.5462, allocations: 1.331 MB / 0.8029 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002591/0.5488, allocations: 1.456 MB / 0.8043 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007088/0.5559, allocations: 5.146 MB / 0.8093 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5559, allocations: 0 / 0.8093 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.556, allocations: 4 kB / 0.8093 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001435/0.5561, allocations: 0 / 0.8093 GB, free: 11.64 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.007083/0.5632, allocations: 2.72 MB / 0.812 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5633, allocations: 9.625 kB / 0.812 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008569/0.5641, allocations: 371.9 kB / 0.8123 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004351/0.5685, allocations: 0.8473 MB / 0.8132 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/0.5724, allocations: 1.578 MB / 0.8147 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.5725, allocations: 177.6 kB / 0.8149 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007829/0.5733, allocations: 229 kB / 0.8151 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007804/0.5811, allocations: 4.163 MB / 0.8192 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.5812, allocations: 6.062 kB / 0.8192 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.5816, allocations: 103.1 kB / 0.8193 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/0.5817, allocations: 165.5 kB / 0.8194 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006456/0.5882, allocations: 3.634 MB / 0.823 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/0.6068, allocations: 16.44 MB / 0.839 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.6099, allocations: 2.297 MB / 0.8413 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007647/0.6107, allocations: 0.5822 MB / 0.8418 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.6109, allocations: 97.66 kB / 0.8419 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.6109, allocations: 43.28 kB / 0.842 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.915e-06/0.6109, allocations: 0 / 0.842 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.005305/0.6162, allocations: 3.496 MB / 0.8454 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.6163, allocations: 123.5 kB / 0.8455 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.6176, allocations: 1.015 MB / 0.8465 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.6177, allocations: 37.7 kB / 0.8465 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005852/0.6183, allocations: 1.146 MB / 0.8477 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.6185, allocations: 281.6 kB / 0.8479 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.6189, allocations: 283.4 kB / 0.8482 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.619, allocations: 418.7 kB / 0.8486 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008365/0.6199, allocations: 0.6128 MB / 0.8492 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.621, allocations: 1.193 MB / 0.8504 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.623, allocations: 1.856 MB / 0.8522 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.6231, allocations: 8 kB / 0.8522 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002914/0.626, allocations: 2.026 MB / 0.8542 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.626, allocations: 12 kB / 0.8542 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.6261, allocations: 20.66 kB / 0.8542 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000453/0.6265, allocations: 163.3 kB / 0.8544 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.6276, allocations: 347.4 kB / 0.8547 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.569e-05/0.6277, allocations: 39.86 kB / 0.8547 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.6287, allocations: 127.7 kB / 0.8548 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.6289, allocations: 71.98 kB / 0.8549 GB, free: 6.426 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.001505/0.6304, allocations: 0.9739 MB / 0.8559 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.6306, allocations: 119.2 kB / 0.856 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.6326, allocations: 1.23 MB / 0.8572 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.6326, allocations: 12 kB / 0.8572 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.6326, allocations: 4 kB / 0.8572 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.6326, allocations: 7.984 kB / 0.8572 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006301/0.6389, allocations: 3.79 MB / 0.8609 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.639, allocations: 4 kB / 0.8609 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.6396, allocations: 155.8 kB / 0.8611 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/0.64, allocations: 143.6 kB / 0.8612 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.64, allocations: 19.94 kB / 0.8612 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/0.64, allocations: 11.94 kB / 0.8612 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.64, allocations: 4 kB / 0.8612 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.6421, allocations: 1.474 MB / 0.8627 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.6426, allocations: 272.3 kB / 0.8629 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.6428, allocations: 23.98 kB / 0.8629 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/0.6434, allocations: 63.91 kB / 0.863 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.6435, allocations: 60.42 kB / 0.8631 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.6436, allocations: 20 kB / 0.8631 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008422/0.6444, allocations: 0.6991 MB / 0.8638 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6444, allocations: 0 / 0.8638 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001441/0.6459, allocations: 388 kB / 0.8641 GB, free: 12.7 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.0021/0.648, allocations: 2.049 MB / 0.8661 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.6502, allocations: 1.726 MB / 0.8678 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6502, allocations: 0 / 0.8678 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000868/0.6511, allocations: 0.8629 MB / 0.8687 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.6525, allocations: 273.1 kB / 0.8689 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.6691, allocations: 12.9 MB / 0.8815 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.6708, allocations: 1.916 MB / 0.8834 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001014/0.6719, allocations: 449.4 kB / 0.8838 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008696/0.6727, allocations: 0.7141 MB / 0.8845 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.6728, allocations: 0 / 0.8845 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/0.7237, allocations: 27.9 MB / 0.9118 GB, free: 11.26 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.98, allocations: 22.3 kB / 0.9118 GB, free: 11.24 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)