Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.74/2.74, allocations: 287.5 MB / 302.4 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00191/0.001911, allocations: 182.9 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008989/0.0008986, allocations: 90.33 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004794, allocations: 11.09 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.04403/0.2673, allocations: 18.52 MB / 0.9966 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.2903, allocations: 7.167 MB / 1.004 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.2928, allocations: 47.81 kB / 1.004 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.295, allocations: 365.3 kB / 1.004 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.2992, allocations: 0.7507 MB / 1.005 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006137/0.3054, allocations: 1.018 MB / 1.006 GB, free: 332 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.3174, allocations: 4.938 MB / 1.01 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01902/0.3365, allocations: 6.544 MB / 1.017 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.3399, allocations: 1.273 MB / 1.018 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.3449, allocations: 1.842 MB / 1.02 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.3461, allocations: 176 kB / 1.02 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.3486, allocations: 423.6 kB / 1.021 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.3516, allocations: 1.333 MB / 1.022 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.3531, allocations: 0.555 MB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008402/0.3615, allocations: 5.131 MB / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3616, allocations: 0 / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3616, allocations: 0 / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001883/0.3618, allocations: 0 / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008643/0.3704, allocations: 2.474 MB / 1.03 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.3705, allocations: 12.02 kB / 1.03 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001655/0.3722, allocations: 453.8 kB / 1.03 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.3776, allocations: 0.6834 MB / 1.031 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004726/0.3823, allocations: 1.519 MB / 1.032 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.3827, allocations: 221.8 kB / 1.033 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.384, allocations: 284 kB / 1.033 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.4001, allocations: 5.031 MB / 1.038 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.4003, allocations: 7.938 kB / 1.038 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006512/0.401, allocations: 124 kB / 1.038 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004092/0.4014, allocations: 212.6 kB / 1.038 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.4158, allocations: 4.161 MB / 1.042 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04167/0.4575, allocations: 23.01 MB / 1.065 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6602/1.118, allocations: 1.708 MB / 1.066 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/1.121, allocations: 1.129 MB / 1.067 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/1.121, allocations: 102.1 kB / 1.067 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/1.121, allocations: 46.38 kB / 1.068 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 3.858e-06/1.121, allocations: 0 / 1.068 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.01125/1.133, allocations: 4.009 MB / 1.071 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/1.133, allocations: 143 kB / 1.072 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.136, allocations: 0.8346 MB / 1.072 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/1.137, allocations: 41.94 kB / 1.072 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.138, allocations: 1.165 MB / 1.074 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/1.138, allocations: 312.6 kB / 1.074 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/1.138, allocations: 21.84 kB / 1.074 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000244/1.139, allocations: 405.8 kB / 1.074 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/1.141, allocations: 0.7932 MB / 1.075 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/1.144, allocations: 1.286 MB / 1.076 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/1.147, allocations: 1.004 MB / 1.077 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.889e-05/1.147, allocations: 6.422 kB / 1.077 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006929/1.154, allocations: 2.168 MB / 1.079 GB, free: 78.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/1.154, allocations: 0.4978 MB / 1.08 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/1.154, allocations: 18.47 kB / 1.08 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.499e-05/1.155, allocations: 25.88 kB / 1.08 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/1.158, allocations: 410.3 kB / 1.08 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.516e-05/1.158, allocations: 27.75 kB / 1.08 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.161, allocations: 204.2 kB / 1.081 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/1.161, allocations: 58.73 kB / 1.081 GB, free: 77.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.161, allocations: 7.438 kB / 1.081 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005116/1.166, allocations: 1.764 MB / 1.082 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.583e-05/1.166, allocations: 13.75 kB / 1.082 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/1.166, allocations: 23.94 kB / 1.082 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/1.169, allocations: 361 kB / 1.083 GB, free: 76.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.537e-05/1.169, allocations: 32.05 kB / 1.083 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/1.171, allocations: 148.7 kB / 1.083 GB, free: 76.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/1.171, allocations: 60.42 kB / 1.083 GB, free: 76.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002974/1.174, allocations: 1.173 MB / 1.084 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004581/1.175, allocations: 98.88 kB / 1.084 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/1.18, allocations: 1.847 MB / 1.086 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.18, allocations: 13.48 kB / 1.086 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.18, allocations: 3.5 kB / 1.086 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/1.18, allocations: 10.09 kB / 1.086 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02233/1.202, allocations: 9.583 MB / 1.095 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.792e-05/1.202, allocations: 10.78 kB / 1.095 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.205, allocations: 312.8 kB / 1.096 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.321e-05/1.205, allocations: 15.75 kB / 1.096 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/1.205, allocations: 41.72 kB / 1.096 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/1.205, allocations: 21.59 kB / 1.096 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/1.205, allocations: 16.55 kB / 1.096 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/1.21, allocations: 2.4 MB / 1.098 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.211, allocations: 386.7 kB / 1.098 GB, free: 69.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/1.211, allocations: 28.64 kB / 1.099 GB, free: 69.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/1.213, allocations: 139.8 kB / 1.099 GB, free: 69.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/1.214, allocations: 90 kB / 1.099 GB, free: 69.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.214, allocations: 38.41 kB / 1.099 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001239/1.215, allocations: 0.5766 MB / 1.099 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/1.215, allocations: 4 kB / 1.099 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004659/1.22, allocations: 0.7535 MB / 1.1 GB, free: 69.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005308/1.225, allocations: 2.979 MB / 1.103 GB, free: 67.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007458/1.233, allocations: 2.829 MB / 1.106 GB, free: 66.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/1.233, allocations: 2.531 kB / 1.106 GB, free: 66.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.235, allocations: 0.9181 MB / 1.107 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.238, allocations: 278.6 kB / 1.107 GB, free: 66.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/1.268, allocations: 11.47 MB / 1.118 GB, free: 58.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/1.271, allocations: 2.131 MB / 1.12 GB, free: 57.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003224/1.274, allocations: 0.7402 MB / 1.121 GB, free: 56.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/1.277, allocations: 0.8335 MB / 1.122 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/1.277, allocations: 0 / 1.122 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09114/1.368, allocations: 31.11 MB / 1.152 GB, free: 25.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/1.368, allocations: 216.4 kB / 1.152 GB, free: 25.65 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/4.865, allocations: 0 / 1.152 GB, free: 25.65 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)