Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 170.9 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.4 MB / 0.578 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008077/0.0008078, allocations: 85.98 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004508, allocations: 9.094 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2436, allocations: 106.3 MB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0182/0.2618, allocations: 19.64 MB / 0.9201 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2739, allocations: 7.531 MB / 0.9275 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.2764, allocations: 51.81 kB / 0.9275 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.2778, allocations: 369.3 kB / 0.9279 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.2811, allocations: 0.9263 MB / 0.9288 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.2847, allocations: 1.316 MB / 0.9301 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005821/0.2905, allocations: 6.445 MB / 0.9363 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01543/0.306, allocations: 7.513 MB / 0.9437 GB, free: 19.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.3097, allocations: 1.292 MB / 0.9449 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004735/0.3145, allocations: 1.885 MB / 0.9468 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.3158, allocations: 176 kB / 0.947 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.3192, allocations: 0.8305 MB / 0.9478 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00305/0.3223, allocations: 1.333 MB / 0.9491 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.003901/0.3262, allocations: 1.374 MB / 0.9504 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.3364, allocations: 5.865 MB / 0.9561 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.639e-06/0.3364, allocations: 0 / 0.9561 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.218e-06/0.3365, allocations: 0 / 0.9561 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002401/0.3367, allocations: 0 / 0.9561 GB, free: 6.945 MB / 0.6042 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.009645/0.3464, allocations: 2.439 MB / 0.9585 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.3465, allocations: 8.031 kB / 0.9585 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002209/0.3487, allocations: 449.9 kB / 0.959 GB, free: 3.988 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/0.3549, allocations: 0.6883 MB / 0.9596 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005205/0.3601, allocations: 1.532 MB / 0.9611 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.3605, allocations: 226.1 kB / 0.9613 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.362, allocations: 280.4 kB / 0.9616 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.3814, allocations: 5.062 MB / 0.9665 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000239/0.3817, allocations: 11.84 kB / 0.9666 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001618/0.3834, allocations: 124 kB / 0.9667 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005244/0.3839, allocations: 204.6 kB / 0.9669 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.3992, allocations: 4.189 MB / 0.971 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04782/0.4471, allocations: 23.02 MB / 0.9934 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/0.4522, allocations: 1.719 MB / 0.9951 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/0.455, allocations: 1.133 MB / 0.9962 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.4553, allocations: 101.7 kB / 0.9963 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.153e-05/0.4554, allocations: 43.16 kB / 0.9964 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=84): time 7.444e-06/0.4554, allocations: 4 kB / 0.9964 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=87): time 0.01022/0.4657, allocations: 4.009 MB / 1 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.4658, allocations: 137.2 kB / 1 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.4677, allocations: 0.8448 MB / 1.001 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.4679, allocations: 45.7 kB / 1.001 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.4691, allocations: 1.162 MB / 1.002 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.4696, allocations: 307.6 kB / 1.003 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4698, allocations: 24 kB / 1.003 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003081/0.4701, allocations: 406.7 kB / 1.003 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.4723, allocations: 0.8028 MB / 1.004 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.475, allocations: 1.299 MB / 1.005 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004964/0.4799, allocations: 2.151 MB / 1.007 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.48, allocations: 4 kB / 1.007 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005804/0.4858, allocations: 2.179 MB / 1.009 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005568/0.4864, allocations: 0.4911 MB / 1.01 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/0.4865, allocations: 23.98 kB / 1.01 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.592e-05/0.4865, allocations: 20 kB / 1.01 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.4892, allocations: 415.2 kB / 1.01 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.127e-05/0.4893, allocations: 27.92 kB / 1.01 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.4914, allocations: 203.2 kB / 1.011 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.4917, allocations: 59.98 kB / 1.011 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4917, allocations: 4 kB / 1.011 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004587/0.4963, allocations: 1.772 MB / 1.012 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.396e-05/0.4964, allocations: 16 kB / 1.012 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.902e-05/0.4964, allocations: 24.84 kB / 1.012 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.4987, allocations: 359.4 kB / 1.013 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.407e-05/0.4988, allocations: 31.86 kB / 1.013 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.5005, allocations: 151.3 kB / 1.013 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.5007, allocations: 59.98 kB / 1.013 GB, free: 9.48 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003596/0.5043, allocations: 1.172 MB / 1.014 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005646/0.5049, allocations: 102.9 kB / 1.014 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/0.51, allocations: 1.85 MB / 1.016 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.5101, allocations: 11.98 kB / 1.016 GB, free: 6.316 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/0.5102, allocations: 4 kB / 1.016 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/0.5102, allocations: 3.984 kB / 1.016 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/0.5327, allocations: 9.595 MB / 1.025 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-05/0.5328, allocations: 12 kB / 1.025 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/0.5347, allocations: 316.3 kB / 1.026 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.501e-05/0.5348, allocations: 16 kB / 1.026 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/0.535, allocations: 32 kB / 1.026 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.539e-05/0.5351, allocations: 23.92 kB / 1.026 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.257e-05/0.5351, allocations: 23.81 kB / 1.026 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.5398, allocations: 2.41 MB / 1.028 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.5409, allocations: 383.6 kB / 1.029 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.5412, allocations: 27.98 kB / 1.029 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/0.5431, allocations: 143.7 kB / 1.029 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/0.5435, allocations: 91.61 kB / 1.029 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.5437, allocations: 40 kB / 1.029 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001712/0.5454, allocations: 0.5927 MB / 1.029 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.082e-06/0.5455, allocations: 0 / 1.029 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00525/0.5507, allocations: 0.7422 MB / 1.03 GB, free: 7.453 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005982/0.5567, allocations: 3.001 MB / 1.033 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007593/0.5644, allocations: 2.83 MB / 1.036 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.518e-05/0.5645, allocations: 4 kB / 1.036 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002502/0.567, allocations: 0.9198 MB / 1.037 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005358/0.5724, allocations: 298.3 kB / 1.037 GB, free: 252 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4974/1.07, allocations: 16.74 MB / 1.053 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/1.072, allocations: 2.13 MB / 1.055 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002109/1.074, allocations: 0.7306 MB / 1.056 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/1.075, allocations: 0.8243 MB / 1.057 GB, free: 139.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.075, allocations: 0 / 1.057 GB, free: 139.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06872/1.144, allocations: 30.41 MB / 1.087 GB, free: 127.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/1.144, allocations: 241.5 kB / 1.087 GB, free: 127.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/4.212, allocations: 0 / 1.087 GB, free: 127.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)