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.001378/0.001378, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001683/0.001684, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003091/0.003091, allocations: 282.3 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.899/0.899, allocations: 169.2 MB / 0.4977 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 89.73 kB / 0.5946 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1345, allocations: 86.98 MB / 0.6796 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01196/0.1465, allocations: 11.03 MB / 0.6903 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008357/0.1549, allocations: 5.856 MB / 0.696 GB, free: 108 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.156, allocations: 47.69 kB / 0.6961 GB, free: 60 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.1596, allocations: 1.618 MB / 0.6977 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.1622, allocations: 1.07 MB / 0.6987 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.164, allocations: 0.7392 MB / 0.6994 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.1667, allocations: 2.856 MB / 0.7022 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.1684, allocations: 1.308 MB / 0.7035 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009985/0.1694, allocations: 0.7624 MB / 0.7043 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009528/0.1703, allocations: 0.9221 MB / 0.7052 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.1705, allocations: 84 kB / 0.7052 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.1727, allocations: 1.458 MB / 0.7067 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.1731, allocations: 0.4985 MB / 0.7071 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006676/0.1738, allocations: 0.7537 MB / 0.7079 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.1764, allocations: 2.445 MB / 0.7103 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1764, allocations: 4 kB / 0.7103 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1764, allocations: 4 kB / 0.7103 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.1764, allocations: 0 / 0.7103 GB, free: 1.484 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.002482/0.1789, allocations: 1.868 MB / 0.7121 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.179, allocations: 8.031 kB / 0.7121 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002043/0.1792, allocations: 207.4 kB / 0.7123 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004226/0.1834, allocations: 0.6699 MB / 0.713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.1847, allocations: 0.9107 MB / 0.7138 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.1848, allocations: 94.89 kB / 0.7139 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.185, allocations: 136.2 kB / 0.7141 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.1877, allocations: 2.202 MB / 0.7162 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.1877, allocations: 19.86 kB / 0.7162 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.1879, allocations: 59.97 kB / 0.7163 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.1881, allocations: 170.2 kB / 0.7165 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.1907, allocations: 1.863 MB / 0.7183 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.2011, allocations: 12.48 MB / 0.7305 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.2051, allocations: 1.968 MB / 0.7324 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.2059, allocations: 0.6049 MB / 0.733 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.2061, allocations: 110 kB / 0.7331 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2061, allocations: 51.5 kB / 0.7331 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.655e-06/0.2061, allocations: 0 / 0.7331 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005499/0.2116, allocations: 3.698 MB / 0.7367 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2117, allocations: 64.41 kB / 0.7368 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/0.2127, allocations: 0.9164 MB / 0.7377 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.2127, allocations: 45.7 kB / 0.7377 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.2132, allocations: 0.7314 MB / 0.7385 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.2134, allocations: 378.5 kB / 0.7388 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/0.2138, allocations: 291.2 kB / 0.7391 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.2139, allocations: 305.1 kB / 0.7394 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/0.2148, allocations: 0.609 MB / 0.74 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.2159, allocations: 1.113 MB / 0.7411 GB, free: 172 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.2181, allocations: 1.828 MB / 0.7428 GB, free: 14.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.2181, allocations: 4 kB / 0.7429 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003136/0.2212, allocations: 2.104 MB / 0.7449 GB, free: 11.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2213, allocations: 16.25 kB / 0.7449 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.2213, allocations: 16 kB / 0.7449 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/0.2221, allocations: 258.6 kB / 0.7452 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.2232, allocations: 371.4 kB / 0.7455 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007384/0.2306, allocations: 10.76 MB / 0.756 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.2317, allocations: 127.8 kB / 0.7562 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.2319, allocations: 71.98 kB / 0.7562 GB, free: 15.29 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.000627/0.2325, allocations: 405.9 kB / 0.7566 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.2327, allocations: 130.4 kB / 0.7567 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.2355, allocations: 1.673 MB / 0.7584 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.2355, allocations: 15.98 kB / 0.7584 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.2355, allocations: 4 kB / 0.7584 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.2355, allocations: 3.984 kB / 0.7584 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/0.2403, allocations: 3.295 MB / 0.7616 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.2403, allocations: 11.98 kB / 0.7616 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/0.2411, allocations: 219.6 kB / 0.7618 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006834/0.2418, allocations: 250.9 kB / 0.7621 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.2419, allocations: 28 kB / 0.7621 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2686/0.5105, allocations: 10.74 MB / 0.7726 GB, free: 85.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.5105, allocations: 9.406 kB / 0.7726 GB, free: 85.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.5134, allocations: 1.804 MB / 0.7744 GB, free: 85.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.514, allocations: 306.7 kB / 0.7747 GB, free: 85.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.5142, allocations: 27.72 kB / 0.7747 GB, free: 85.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.5149, allocations: 90.53 kB / 0.7748 GB, free: 85.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.5151, allocations: 97.53 kB / 0.7749 GB, free: 85.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-05/0.5152, allocations: 35.16 kB / 0.7749 GB, free: 85.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007807/0.516, allocations: 0.6166 MB / 0.7755 GB, free: 85.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/0.516, allocations: 0 / 0.7755 GB, free: 85.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001379/0.5174, allocations: 391.7 kB / 0.7759 GB, free: 85.15 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.002707/0.5201, allocations: 2.393 MB / 0.7782 GB, free: 84.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003065/0.5232, allocations: 2.488 MB / 0.7806 GB, free: 82.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5232, allocations: 0 / 0.7806 GB, free: 82.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.5248, allocations: 1.632 MB / 0.7822 GB, free: 81.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5263, allocations: 329.5 kB / 0.7825 GB, free: 81.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.5402, allocations: 12.59 MB / 0.7948 GB, free: 73.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008343/0.541, allocations: 1.328 MB / 0.7961 GB, free: 73.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001102/0.5421, allocations: 367.1 kB / 0.7965 GB, free: 73.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.5427, allocations: 0.5372 MB / 0.797 GB, free: 72.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.011e-06/0.5427, allocations: 0 / 0.797 GB, free: 72.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.5823, allocations: 27.11 MB / 0.8235 GB, free: 57.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.5824, allocations: 263.4 kB / 0.8237 GB, free: 57.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.728, allocations: 0 / 0.8237 GB, free: 57.69 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)