Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.001593/0.001593, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 183.2 kB / 16.66 MB, free: 6.602 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003878/0.003878, allocations: 271.2 kB / 290.8 MB, free: 1.891 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: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002739/0.00274, allocations: 103.8 kB / 0.6943 GB, free: 3.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4412, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01394/0.4552, allocations: 11.08 MB / 0.7922 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009528/0.4648, allocations: 5.797 MB / 0.7978 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008143/0.4656, allocations: 54.75 kB / 0.7979 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004203/0.4698, allocations: 1.72 MB / 0.7996 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.4728, allocations: 1.148 MB / 0.8007 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.475, allocations: 0.8099 MB / 0.8015 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.4776, allocations: 2.13 MB / 0.8035 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.4792, allocations: 1.305 MB / 0.8048 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.4804, allocations: 0.8423 MB / 0.8056 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.4816, allocations: 0.9071 MB / 0.8065 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.4818, allocations: 118 kB / 0.8066 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.484, allocations: 1.182 MB / 0.8078 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005135/0.4846, allocations: 0.5236 MB / 0.8083 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008182/0.4854, allocations: 0.7884 MB / 0.8091 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.4885, allocations: 2.435 MB / 0.8115 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4886, allocations: 0 / 0.8115 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4886, allocations: 0 / 0.8115 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.895e-05/0.4886, allocations: 1.375 kB / 0.8115 GB, free: 9.664 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003116/0.4917, allocations: 1.912 MB / 0.8133 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4918, allocations: 17.5 kB / 0.8133 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.492, allocations: 217.3 kB / 0.8135 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/0.4965, allocations: 0.6766 MB / 0.8142 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.4982, allocations: 1.016 MB / 0.8152 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.4983, allocations: 97.3 kB / 0.8153 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.4985, allocations: 119.5 kB / 0.8154 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.5016, allocations: 2.22 MB / 0.8176 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.5017, allocations: 8.531 kB / 0.8176 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.5018, allocations: 58.53 kB / 0.8176 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.502, allocations: 169.5 kB / 0.8178 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.505, allocations: 1.861 MB / 0.8196 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.5175, allocations: 12.46 MB / 0.8318 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.5218, allocations: 1.964 MB / 0.8337 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008632/0.5227, allocations: 0.615 MB / 0.8343 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.5229, allocations: 101.9 kB / 0.8344 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.5229, allocations: 51.41 kB / 0.8345 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=103): time 2.815e-06/0.5229, allocations: 0 / 0.8345 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.00643/0.5294, allocations: 3.73 MB / 0.8381 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.5294, allocations: 64.41 kB / 0.8382 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.5306, allocations: 0.9128 MB / 0.8391 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.5306, allocations: 45.7 kB / 0.8391 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.5312, allocations: 0.7533 MB / 0.8398 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.5315, allocations: 404.6 kB / 0.8402 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/0.5319, allocations: 291.4 kB / 0.8405 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5321, allocations: 305.1 kB / 0.8408 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009747/0.5331, allocations: 0.6129 MB / 0.8414 GB, free: 168 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.5344, allocations: 1.106 MB / 0.8425 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.5369, allocations: 1.832 MB / 0.8443 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.5369, allocations: 4 kB / 0.8443 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003451/0.5404, allocations: 2.101 MB / 0.8463 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.5404, allocations: 12.19 kB / 0.8463 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5404, allocations: 20 kB / 0.8463 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008172/0.5412, allocations: 262.6 kB / 0.8466 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.5426, allocations: 371.4 kB / 0.8469 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009545/0.5521, allocations: 11.59 MB / 0.8583 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.5534, allocations: 135.8 kB / 0.8584 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.5535, allocations: 68 kB / 0.8585 GB, free: 13.07 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000655/0.5541, allocations: 405.1 kB / 0.8588 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.5544, allocations: 139.2 kB / 0.859 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.5573, allocations: 1.669 MB / 0.8606 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.5574, allocations: 12 kB / 0.8606 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.5574, allocations: 8 kB / 0.8606 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5574, allocations: 15.91 kB / 0.8606 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005156/0.5626, allocations: 3.287 MB / 0.8638 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.5626, allocations: 4 kB / 0.8639 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/0.5635, allocations: 223.6 kB / 0.8641 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007273/0.5642, allocations: 243.3 kB / 0.8643 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.196e-05/0.5643, allocations: 31.94 kB / 0.8643 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009451/0.5738, allocations: 11.57 MB / 0.8756 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/0.5738, allocations: 4 kB / 0.8756 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.5766, allocations: 1.804 MB / 0.8774 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.5772, allocations: 316.1 kB / 0.8777 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.5774, allocations: 35.88 kB / 0.8777 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/0.5781, allocations: 91.88 kB / 0.8778 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.5783, allocations: 96.7 kB / 0.8779 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.5784, allocations: 36 kB / 0.8779 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008127/0.5792, allocations: 0.6138 MB / 0.8785 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5792, allocations: 0 / 0.8785 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001338/0.5805, allocations: 396 kB / 0.8789 GB, free: 6.641 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003061/0.5836, allocations: 2.395 MB / 0.8813 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.5873, allocations: 2.501 MB / 0.8837 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5873, allocations: 4.062 kB / 0.8837 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.5895, allocations: 1.633 MB / 0.8853 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.5913, allocations: 362.7 kB / 0.8856 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.6097, allocations: 11.53 MB / 0.8969 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.6108, allocations: 1.339 MB / 0.8982 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001039/0.6119, allocations: 359.3 kB / 0.8985 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007507/0.6127, allocations: 0.5344 MB / 0.8991 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/0.6127, allocations: 4 kB / 0.8991 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/0.727, allocations: 28.31 MB / 0.9267 GB, free: 5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.3, allocations: 11.27 kB / 0.9267 GB, free: 4.992 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)