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.004781/0.004781, allocations: 96.7 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.001172/0.001172, allocations: 194.3 kB / 16.67 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 279.1 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 0.9214/0.9214, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 99.91 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1461, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.319/0.4652, allocations: 11.07 MB / 0.7767 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007121/0.4723, allocations: 5.792 MB / 0.7824 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.4729, allocations: 50.31 kB / 0.7824 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.4762, allocations: 1.733 MB / 0.7841 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.4785, allocations: 1.183 MB / 0.7853 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.4804, allocations: 0.8096 MB / 0.7861 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.4826, allocations: 2.134 MB / 0.7881 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.4839, allocations: 1.31 MB / 0.7894 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009404/0.4849, allocations: 0.8557 MB / 0.7903 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000901/0.4858, allocations: 0.9118 MB / 0.7912 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.4859, allocations: 112.8 kB / 0.7913 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.4878, allocations: 1.179 MB / 0.7924 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.4883, allocations: 0.5276 MB / 0.7929 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005773/0.4889, allocations: 0.7846 MB / 0.7937 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.4914, allocations: 2.439 MB / 0.7961 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4914, allocations: 0 / 0.7961 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4914, allocations: 0 / 0.7961 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.4914, allocations: 0.6094 kB / 0.7961 GB, free: 1.621 MB / 0.5606 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.002394/0.4938, allocations: 1.919 MB / 0.7979 GB, free: 356 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4939, allocations: 10.25 kB / 0.798 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/0.4941, allocations: 214.2 kB / 0.7982 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/0.4984, allocations: 0.677 MB / 0.7988 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.5001, allocations: 1.017 MB / 0.7998 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.5002, allocations: 93.27 kB / 0.7999 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.5004, allocations: 126.5 kB / 0.8 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.5037, allocations: 2.21 MB / 0.8022 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.5038, allocations: 10.36 kB / 0.8022 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.5039, allocations: 65.47 kB / 0.8023 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.5041, allocations: 161.3 kB / 0.8024 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.5069, allocations: 1.87 MB / 0.8042 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.5178, allocations: 12.45 MB / 0.8164 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003857/0.5217, allocations: 1.972 MB / 0.8183 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007372/0.5225, allocations: 0.6037 MB / 0.8189 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.5226, allocations: 106.6 kB / 0.819 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.5226, allocations: 51.56 kB / 0.8191 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=103): time 2.735e-06/0.5227, allocations: 4 kB / 0.8191 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110): time 0.005412/0.5281, allocations: 3.725 MB / 0.8227 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.5281, allocations: 63.38 kB / 0.8228 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/0.5291, allocations: 0.9222 MB / 0.8237 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.5291, allocations: 45.11 kB / 0.8237 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.5295, allocations: 0.7528 MB / 0.8244 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.5298, allocations: 401 kB / 0.8248 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.5302, allocations: 294.3 kB / 0.8251 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.5303, allocations: 302.4 kB / 0.8254 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008312/0.5311, allocations: 0.6174 MB / 0.826 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.5322, allocations: 1.102 MB / 0.8271 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.5342, allocations: 1.834 MB / 0.8289 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5342, allocations: 4.375 kB / 0.8289 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003012/0.5373, allocations: 2.101 MB / 0.8309 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5373, allocations: 12.22 kB / 0.8309 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.5373, allocations: 15.72 kB / 0.8309 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007439/0.5381, allocations: 262.3 kB / 0.8312 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.5393, allocations: 371.9 kB / 0.8315 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.547, allocations: 11.59 MB / 0.8429 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.5482, allocations: 127.9 kB / 0.843 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.5483, allocations: 80.58 kB / 0.8431 GB, free: 13.55 MB / 0.6075 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.0005781/0.5489, allocations: 400.5 kB / 0.8435 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.5491, allocations: 136.6 kB / 0.8436 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.5517, allocations: 1.675 MB / 0.8452 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5517, allocations: 10.25 kB / 0.8452 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5518, allocations: 3.562 kB / 0.8452 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5518, allocations: 3.984 kB / 0.8452 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004829/0.5566, allocations: 3.301 MB / 0.8485 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.5566, allocations: 4.875 kB / 0.8485 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/0.5574, allocations: 222.9 kB / 0.8487 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006689/0.5581, allocations: 247.8 kB / 0.8489 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.5582, allocations: 26.97 kB / 0.8489 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007337/0.5655, allocations: 11.57 MB / 0.8602 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5656, allocations: 7.125 kB / 0.8602 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.5679, allocations: 1.806 MB / 0.862 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005637/0.5685, allocations: 309.5 kB / 0.8623 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.5687, allocations: 38.89 kB / 0.8623 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.5694, allocations: 94.44 kB / 0.8624 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.5696, allocations: 96.52 kB / 0.8625 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.5696, allocations: 43.48 kB / 0.8626 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007042/0.5704, allocations: 0.6185 MB / 0.8632 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5704, allocations: 0 / 0.8632 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00131/0.5717, allocations: 392 kB / 0.8635 GB, free: 11.55 MB / 0.6231 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.002585/0.5743, allocations: 2.384 MB / 0.8659 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003169/0.5775, allocations: 2.509 MB / 0.8683 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5775, allocations: 0 / 0.8683 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.5793, allocations: 1.625 MB / 0.8699 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5808, allocations: 356.1 kB / 0.8702 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.5946, allocations: 11.54 MB / 0.8815 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.5954, allocations: 1.331 MB / 0.8828 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008238/0.5963, allocations: 355.3 kB / 0.8832 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/0.5969, allocations: 0.5414 MB / 0.8837 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.5969, allocations: 4 kB / 0.8837 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06352/0.6604, allocations: 28.3 MB / 0.9113 GB, free: 9.934 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.38, allocations: 24.08 kB / 0.9113 GB, free: 9.918 MB / 0.67 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)