Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.31/2.31, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 199.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 110.4 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 51.72 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2612, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.02989/0.2911, allocations: 36.92 MB / 1.254 GB, free: 80.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.3095, allocations: 13.6 MB / 1.267 GB, free: 66.56 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004384/0.3139, allocations: 95.62 kB / 1.268 GB, free: 66.47 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00504/0.319, allocations: 2.108 MB / 1.27 GB, free: 64.36 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.3229, allocations: 1.335 MB / 1.271 GB, free: 63.02 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007718/0.3307, allocations: 3.274 MB / 1.274 GB, free: 59.75 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.008815/0.3395, allocations: 9.616 MB / 1.283 GB, free: 50.11 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01242/0.3519, allocations: 11.21 MB / 1.294 GB, free: 38.79 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.3556, allocations: 2.298 MB / 1.297 GB, free: 36.48 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004863/0.3604, allocations: 3.284 MB / 1.3 GB, free: 33.19 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.3619, allocations: 435.9 kB / 1.3 GB, free: 32.76 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.3649, allocations: 1.229 MB / 1.301 GB, free: 31.53 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002828/0.3678, allocations: 2.281 MB / 1.304 GB, free: 29.24 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003277/0.3711, allocations: 2.338 MB / 1.306 GB, free: 26.89 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006036/0.3771, allocations: 8.99 MB / 1.315 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3772, allocations: 0 / 1.315 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3772, allocations: 3.938 kB / 1.315 GB, free: 17.88 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002119/0.3774, allocations: 0 / 1.315 GB, free: 17.88 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007618/0.385, allocations: 4.299 MB / 1.319 GB, free: 13.51 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3851, allocations: 15.97 kB / 1.319 GB, free: 13.49 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/0.3886, allocations: 0.9365 MB / 1.32 GB, free: 12.55 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/0.3932, allocations: 2.19 MB / 1.322 GB, free: 10.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.3934, allocations: 325 kB / 1.322 GB, free: 9.996 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.3946, allocations: 428.3 kB / 1.323 GB, free: 9.578 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.4057, allocations: 7.362 MB / 1.33 GB, free: 1.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.4059, allocations: 15.94 kB / 1.33 GB, free: 1.965 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006537/0.4065, allocations: 180 kB / 1.33 GB, free: 1.789 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002302/0.4068, allocations: 290.9 kB / 1.33 GB, free: 1.504 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.4176, allocations: 5.955 MB / 1.336 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04435/0.462, allocations: 32.63 MB / 1.368 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.4654, allocations: 2.111 MB / 1.37 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.4669, allocations: 1.228 MB / 1.371 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.4671, allocations: 110 kB / 1.371 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4672, allocations: 47.56 kB / 1.372 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 2.955e-06/0.4672, allocations: 0 / 1.372 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101): time 0.008392/0.4756, allocations: 5.234 MB / 1.377 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.4757, allocations: 145.5 kB / 1.377 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.4779, allocations: 1.449 MB / 1.378 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.4782, allocations: 41.7 kB / 1.378 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.4795, allocations: 1.871 MB / 1.38 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/0.48, allocations: 375.4 kB / 1.38 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008134/0.4808, allocations: 455.1 kB / 1.381 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4809, allocations: 305.1 kB / 1.381 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.4826, allocations: 1.118 MB / 1.382 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.485, allocations: 2.188 MB / 1.384 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/0.4891, allocations: 3.395 MB / 1.388 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.4891, allocations: 8 kB / 1.388 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005255/0.4944, allocations: 3.312 MB / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.4945, allocations: 25.28 kB / 1.391 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.529e-05/0.4945, allocations: 32 kB / 1.391 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-05/0.4946, allocations: 48 kB / 1.391 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.4968, allocations: 0.6238 MB / 1.392 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.967e-05/0.4969, allocations: 75.7 kB / 1.392 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.499, allocations: 310.7 kB / 1.392 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.4992, allocations: 112 kB / 1.392 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004467/0.5037, allocations: 2.405 MB / 1.394 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002635/0.5064, allocations: 2.015 MB / 1.396 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003841/0.5102, allocations: 3.029 MB / 1.399 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.77e-05/0.5103, allocations: 8 kB / 1.399 GB, free: 5.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004811/0.5151, allocations: 2.933 MB / 1.402 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.5152, allocations: 20 kB / 1.402 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.285e-05/0.5152, allocations: 35.98 kB / 1.402 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.528e-05/0.5153, allocations: 48 kB / 1.402 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.5172, allocations: 0.5498 MB / 1.403 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.635e-05/0.5173, allocations: 75.66 kB / 1.403 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.5192, allocations: 247.3 kB / 1.403 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.5194, allocations: 120 kB / 1.403 GB, free: 1.723 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0006215/0.5201, allocations: 328 kB / 1.404 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004692/0.5206, allocations: 158.3 kB / 1.404 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.5242, allocations: 2.238 MB / 1.406 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.5242, allocations: 11.94 kB / 1.406 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5242, allocations: 4 kB / 1.406 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.5242, allocations: 3.984 kB / 1.406 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.5419, allocations: 10.97 MB / 1.417 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.555e-05/0.5419, allocations: 8 kB / 1.417 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.5435, allocations: 391.3 kB / 1.417 GB, free: 3.355 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/0.5435, allocations: 16 kB / 1.417 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.5437, allocations: 32 kB / 1.417 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.88e-05/0.5437, allocations: 23.92 kB / 1.417 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.5437, allocations: 15.94 kB / 1.417 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5227/1.066, allocations: 4.92 MB / 1.422 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.068, allocations: 450.7 kB / 1.422 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.068, allocations: 39.33 kB / 1.422 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.069, allocations: 163.7 kB / 1.423 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/1.069, allocations: 104.7 kB / 1.423 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/1.069, allocations: 41.53 kB / 1.423 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001467/1.071, allocations: 0.9748 MB / 1.424 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.21e-07/1.071, allocations: 0 / 1.424 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003988/1.075, allocations: 1.128 MB / 1.425 GB, free: 184.6 MB / 0.9167 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 (104): * Single equations (assignments): 104 * 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.0002424/1.075, allocations: 145 kB / 1.425 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006132/1.081, allocations: 3.988 MB / 1.429 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.081, allocations: 1.281 kB / 1.429 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/1.083, allocations: 1.057 MB / 1.43 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.086, allocations: 413.1 kB / 1.43 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.1, allocations: 9.415 MB / 1.439 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/1.103, allocations: 2.895 MB / 1.442 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003188/1.106, allocations: 1.208 MB / 1.443 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/1.107, allocations: 120.3 kB / 1.444 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.172e-06/1.107, allocations: 0 / 1.444 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.03623/1.143, allocations: 24.32 MB / 1.467 GB, free: 163.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)