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.0009671/0.0009671, allocations: 95.92 kB / 15.36 MB, free: 0.7305 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.001024/0.001025, allocations: 174.5 kB / 16.27 MB, free: 6.66 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001677, allocations: 274.7 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9165/0.9165, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000633/0.000633, allocations: 14.77 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.154, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01094/0.165, allocations: 10.52 MB / 0.6955 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007866/0.1728, allocations: 5.769 MB / 0.7012 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008474/0.1737, allocations: 39.69 kB / 0.7012 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.1743, allocations: 249.9 kB / 0.7014 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.1764, allocations: 1.066 MB / 0.7025 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.1779, allocations: 0.7504 MB / 0.7032 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002311/0.1802, allocations: 2.852 MB / 0.706 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003508/0.1837, allocations: 2.348 MB / 0.7083 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.1846, allocations: 0.6882 MB / 0.709 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.1855, allocations: 0.8596 MB / 0.7098 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1856, allocations: 56 kB / 0.7098 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.1875, allocations: 1.442 MB / 0.7113 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.1879, allocations: 466.5 kB / 0.7117 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.1885, allocations: 0.7319 MB / 0.7124 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.1905, allocations: 2.41 MB / 0.7148 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1905, allocations: 4 kB / 0.7148 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1905, allocations: 0 / 0.7148 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.1905, allocations: 0 / 0.7148 GB, free: 0.5898 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.0022/0.1927, allocations: 1.591 MB / 0.7163 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1928, allocations: 15.97 kB / 0.7163 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/0.1931, allocations: 215.4 kB / 0.7165 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/0.1973, allocations: 0.6737 MB / 0.7172 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.1987, allocations: 0.9107 MB / 0.7181 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.1988, allocations: 94.89 kB / 0.7182 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.199, allocations: 128.3 kB / 0.7183 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.2018, allocations: 2.21 MB / 0.7205 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.2018, allocations: 15.92 kB / 0.7205 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.2019, allocations: 55.98 kB / 0.7205 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.2021, allocations: 162.3 kB / 0.7207 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.2048, allocations: 1.867 MB / 0.7225 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.2152, allocations: 12.49 MB / 0.7347 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/0.2192, allocations: 1.978 MB / 0.7366 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/0.22, allocations: 0.6089 MB / 0.7372 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.2201, allocations: 98.09 kB / 0.7373 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.2202, allocations: 55.44 kB / 0.7374 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.385e-06/0.2202, allocations: 0 / 0.7374 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005454/0.2256, allocations: 3.71 MB / 0.741 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2257, allocations: 64.41 kB / 0.7411 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000954/0.2267, allocations: 0.9203 MB / 0.742 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.2267, allocations: 49.64 kB / 0.742 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.2272, allocations: 0.7236 MB / 0.7427 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.2274, allocations: 382.5 kB / 0.7431 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.2276, allocations: 125.6 kB / 0.7432 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.2277, allocations: 305.1 kB / 0.7435 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/0.2285, allocations: 0.6129 MB / 0.7441 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.2296, allocations: 1.102 MB / 0.7452 GB, free: 15.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.2317, allocations: 1.835 MB / 0.747 GB, free: 13.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2317, allocations: 4 kB / 0.747 GB, free: 13.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002996/0.2347, allocations: 2.1 MB / 0.749 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.2347, allocations: 12 kB / 0.749 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.2348, allocations: 20.03 kB / 0.749 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007316/0.2355, allocations: 262.6 kB / 0.7493 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.2367, allocations: 375.4 kB / 0.7497 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/0.244, allocations: 10.77 MB / 0.7602 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2452, allocations: 123.8 kB / 0.7603 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.2453, allocations: 68 kB / 0.7604 GB, free: 14.8 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.0005874/0.2459, allocations: 406.6 kB / 0.7607 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.246, allocations: 130.4 kB / 0.7609 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.2487, allocations: 1.677 MB / 0.7625 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.2487, allocations: 8 kB / 0.7625 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2487, allocations: 7.938 kB / 0.7625 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2487, allocations: 7.969 kB / 0.7625 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004509/0.2533, allocations: 3.299 MB / 0.7657 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.2533, allocations: 4 kB / 0.7658 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008139/0.2541, allocations: 219.6 kB / 0.766 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006619/0.2548, allocations: 247 kB / 0.7662 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.2548, allocations: 32 kB / 0.7662 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2554/0.5103, allocations: 10.74 MB / 0.7767 GB, free: 83.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.5103, allocations: 10.34 kB / 0.7767 GB, free: 83.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.5132, allocations: 1.798 MB / 0.7785 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.5137, allocations: 322.6 kB / 0.7788 GB, free: 82.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.5139, allocations: 26.05 kB / 0.7788 GB, free: 82.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/0.5146, allocations: 90.69 kB / 0.7789 GB, free: 82.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.5148, allocations: 97.55 kB / 0.779 GB, free: 82.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.5149, allocations: 35.23 kB / 0.779 GB, free: 82.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008226/0.5157, allocations: 0.6219 MB / 0.7796 GB, free: 82.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5157, allocations: 2.906 kB / 0.7796 GB, free: 82.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001308/0.5171, allocations: 392.2 kB / 0.78 GB, free: 82.44 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.002703/0.5198, allocations: 2.389 MB / 0.7823 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00321/0.523, allocations: 2.483 MB / 0.7848 GB, free: 80.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.523, allocations: 1.312 kB / 0.7848 GB, free: 80.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.5247, allocations: 1.644 MB / 0.7864 GB, free: 79.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.5271, allocations: 339.6 kB / 0.7867 GB, free: 79.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.5413, allocations: 12.59 MB / 0.799 GB, free: 71.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/0.5421, allocations: 1.326 MB / 0.8003 GB, free: 70.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001084/0.5432, allocations: 359.1 kB / 0.8006 GB, free: 70.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/0.5438, allocations: 0.5342 MB / 0.8012 GB, free: 70.28 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.5438, allocations: 0.5938 kB / 0.8012 GB, free: 70.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.768/1.312, allocations: 26.76 MB / 0.8273 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/1.312, allocations: 255.2 kB / 0.8275 GB, free: 55.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.765, allocations: 0 / 0.8275 GB, free: 55.54 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)