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.001507/0.001507, allocations: 108 kB / 15.61 MB, free: 152 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.0012/0.0012, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 279.2 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9667/0.9667, allocations: 169.2 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 99.94 kB / 0.5954 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1507, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.012/0.1628, allocations: 11.07 MB / 0.6911 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008094/0.1709, allocations: 5.794 MB / 0.6968 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1719, allocations: 47.69 kB / 0.6968 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.176, allocations: 1.73 MB / 0.6985 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.1787, allocations: 1.139 MB / 0.6996 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.1807, allocations: 0.8173 MB / 0.7004 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.1832, allocations: 2.119 MB / 0.7025 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.1849, allocations: 1.314 MB / 0.7038 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.1861, allocations: 0.8368 MB / 0.7046 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.1874, allocations: 0.9104 MB / 0.7055 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.1876, allocations: 115.9 kB / 0.7056 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.1898, allocations: 1.181 MB / 0.7067 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005694/0.1904, allocations: 0.5181 MB / 0.7072 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.1914, allocations: 0.7888 MB / 0.708 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.195, allocations: 2.391 MB / 0.7104 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.195, allocations: 7.984 kB / 0.7104 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.195, allocations: 0 / 0.7104 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.979e-05/0.1951, allocations: 0 / 0.7104 GB, free: 1.734 MB / 0.4981 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.003766/0.1989, allocations: 1.864 MB / 0.7122 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.1989, allocations: 11.98 kB / 0.7122 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000488/0.1994, allocations: 215.4 kB / 0.7124 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/0.2042, allocations: 0.666 MB / 0.713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.2059, allocations: 0.9107 MB / 0.7139 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/0.206, allocations: 94.89 kB / 0.714 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.2064, allocations: 132.2 kB / 0.7142 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.2096, allocations: 2.21 MB / 0.7163 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.2097, allocations: 7.938 kB / 0.7163 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.2098, allocations: 59.97 kB / 0.7164 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.21, allocations: 162.3 kB / 0.7165 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.2128, allocations: 1.871 MB / 0.7184 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.2234, allocations: 12.48 MB / 0.7305 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/0.2274, allocations: 1.977 MB / 0.7325 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000755/0.2282, allocations: 0.6089 MB / 0.7331 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.2283, allocations: 102.1 kB / 0.7332 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2284, allocations: 51.44 kB / 0.7332 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.695e-06/0.2284, allocations: 0 / 0.7332 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.00559/0.234, allocations: 3.694 MB / 0.7368 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.234, allocations: 64.41 kB / 0.7369 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.235, allocations: 0.9281 MB / 0.7378 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.2351, allocations: 53.52 kB / 0.7378 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.2355, allocations: 0.7276 MB / 0.7385 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.2358, allocations: 386.5 kB / 0.7389 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/0.2361, allocations: 287.2 kB / 0.7392 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.2362, allocations: 301.1 kB / 0.7395 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/0.2371, allocations: 0.6129 MB / 0.7401 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.2381, allocations: 1.106 MB / 0.7412 GB, free: 424 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.2402, allocations: 1.832 MB / 0.7429 GB, free: 14.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.2402, allocations: 4 kB / 0.7429 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003084/0.2433, allocations: 2.099 MB / 0.745 GB, free: 12.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.2434, allocations: 12 kB / 0.745 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.2434, allocations: 16 kB / 0.745 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.2442, allocations: 267.4 kB / 0.7453 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.2454, allocations: 371.4 kB / 0.7456 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/0.2532, allocations: 11.59 MB / 0.7569 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.2545, allocations: 127.8 kB / 0.7571 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.2547, allocations: 71.98 kB / 0.7571 GB, free: 14.65 MB / 0.5606 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.0006606/0.2553, allocations: 407.3 kB / 0.7575 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.2556, allocations: 126.5 kB / 0.7576 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.2585, allocations: 1.688 MB / 0.7593 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2585, allocations: 8 kB / 0.7593 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.2585, allocations: 4 kB / 0.7593 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.2586, allocations: 3.984 kB / 0.7593 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/0.2638, allocations: 3.288 MB / 0.7625 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.2638, allocations: 8.125 kB / 0.7625 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008315/0.2647, allocations: 223.6 kB / 0.7627 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006891/0.2654, allocations: 246.6 kB / 0.763 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.277e-05/0.2654, allocations: 27.94 kB / 0.763 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3103/0.5758, allocations: 11.56 MB / 0.7743 GB, free: 84.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.5758, allocations: 6.906 kB / 0.7743 GB, free: 84.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.5791, allocations: 1.797 MB / 0.7761 GB, free: 83.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005238/0.5796, allocations: 314 kB / 0.7764 GB, free: 83.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.5798, allocations: 34.14 kB / 0.7764 GB, free: 83.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/0.5805, allocations: 92.03 kB / 0.7765 GB, free: 83.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.5807, allocations: 95.28 kB / 0.7766 GB, free: 83.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.415e-05/0.5808, allocations: 36.28 kB / 0.7766 GB, free: 83.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007733/0.5816, allocations: 0.6142 MB / 0.7772 GB, free: 83.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5816, allocations: 0 / 0.7772 GB, free: 83.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00133/0.5829, allocations: 396.2 kB / 0.7776 GB, free: 83.65 MB / 0.5606 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.002686/0.5856, allocations: 2.381 MB / 0.7799 GB, free: 82.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003717/0.5893, allocations: 2.892 MB / 0.7827 GB, free: 81.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5894, allocations: 0 / 0.7827 GB, free: 81.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.591, allocations: 1.628 MB / 0.7843 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5926, allocations: 349 kB / 0.7847 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.6077, allocations: 12.02 MB / 0.7964 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.6088, allocations: 1.324 MB / 0.7977 GB, free: 72.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001216/0.61, allocations: 361 kB / 0.798 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/0.6106, allocations: 0.5343 MB / 0.7985 GB, free: 71.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.6106, allocations: 0.5 kB / 0.7985 GB, free: 71.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/0.6702, allocations: 27.94 MB / 0.8258 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.605/10.28, allocations: 7.438 kB / 0.8258 GB, free: 55.74 MB / 0.5606 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)