Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001227/0.001227, allocations: 176.9 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008924/0.0008924, allocations: 83.91 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.051e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7287, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/0.9646, allocations: 180.6 MB / 1.15 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.9649, allocations: 99.92 kB / 1.15 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2749/1.24, allocations: 111.4 MB / 1.258 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.132e-06/1.24, allocations: 0 / 1.258 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002114/1.24, allocations: 71.92 kB / 1.259 GB, free: 1.176 MB / 0.8542 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.5482/1.788, allocations: 2.408 MB / 1.261 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.788, allocations: 9.703 kB / 1.261 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/1.793, allocations: 0.6955 MB / 1.262 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/1.797, allocations: 1.604 MB / 1.263 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/1.797, allocations: 93.94 kB / 1.263 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005999/1.797, allocations: 170.7 kB / 1.263 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006383/1.804, allocations: 3.202 MB / 1.267 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006762/1.811, allocations: 4.119 MB / 1.271 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.396e-05/1.811, allocations: 12.14 kB / 1.271 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/1.811, allocations: 7.062 kB / 1.271 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/1.811, allocations: 183 kB / 1.271 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/1.833, allocations: 22.13 MB / 1.292 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/1.836, allocations: 1.534 MB / 1.294 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/1.837, allocations: 1.001 MB / 1.295 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/1.837, allocations: 95.95 kB / 1.295 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/1.837, allocations: 44.34 kB / 1.295 GB, free: 179 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/1.837, allocations: 0 / 1.295 GB, free: 179 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.004417/1.842, allocations: 2.924 MB / 1.298 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.842, allocations: 141.4 kB / 1.298 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.843, allocations: 0.8061 MB / 1.299 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.599e-05/1.843, allocations: 27.05 kB / 1.299 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007131/1.844, allocations: 1.208 MB / 1.3 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/1.844, allocations: 262.8 kB / 1.3 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/1.844, allocations: 0 / 1.3 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.844, allocations: 396.2 kB / 1.301 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.845, allocations: 0.7496 MB / 1.301 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.846, allocations: 1.229 MB / 1.302 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/1.848, allocations: 1.052 MB / 1.304 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/1.848, allocations: 4.031 kB / 1.304 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003168/1.851, allocations: 2.093 MB / 1.306 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.852, allocations: 5.489 MB / 1.311 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.852, allocations: 13.97 kB / 1.311 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.581e-05/1.852, allocations: 22.41 kB / 1.311 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.854, allocations: 420 kB / 1.311 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/1.854, allocations: 29.77 kB / 1.311 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.856, allocations: 232.5 kB / 1.312 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.856, allocations: 61.83 kB / 1.312 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.856, allocations: 4 kB / 1.312 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002677/1.858, allocations: 1.66 MB / 1.313 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/1.858, allocations: 17.94 kB / 1.313 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.858, allocations: 23 kB / 1.313 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.86, allocations: 367.3 kB / 1.314 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/1.86, allocations: 26.95 kB / 1.314 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.861, allocations: 159.9 kB / 1.314 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/1.861, allocations: 60.38 kB / 1.314 GB, free: 169.8 MB / 0.8542 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 () * 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.0002575/1.861, allocations: 137.9 kB / 1.314 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/1.861, allocations: 98.41 kB / 1.314 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/1.864, allocations: 1.486 MB / 1.316 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/1.864, allocations: 13.5 kB / 1.316 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.864, allocations: 0 / 1.316 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.864, allocations: 9.703 kB / 1.316 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/1.875, allocations: 6.509 MB / 1.322 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.875, allocations: 7.812 kB / 1.322 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.876, allocations: 260.1 kB / 1.322 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.663e-05/1.876, allocations: 16.88 kB / 1.322 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/1.876, allocations: 15.25 kB / 1.322 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-05/1.876, allocations: 15.53 kB / 1.322 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-05/1.876, allocations: 18.69 kB / 1.322 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/1.879, allocations: 2.419 MB / 1.325 GB, free: 165 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008108/1.88, allocations: 363.7 kB / 1.325 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/1.88, allocations: 11.78 kB / 1.325 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008952/1.881, allocations: 127.4 kB / 1.325 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.882, allocations: 70.84 kB / 1.325 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/1.882, allocations: 32.81 kB / 1.325 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007811/1.882, allocations: 0.6006 MB / 1.326 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.882, allocations: 3.562 kB / 1.326 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003688/1.886, allocations: 0.7662 MB / 1.327 GB, free: 164.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.0002953/1.886, allocations: 137.7 kB / 1.327 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003982/1.89, allocations: 2.518 MB / 1.329 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.89, allocations: 1.344 kB / 1.329 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008435/1.891, allocations: 0.7086 MB / 1.33 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.893, allocations: 236.5 kB / 1.33 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/1.899, allocations: 3.831 MB / 1.334 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.901, allocations: 2.164 MB / 1.336 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001965/1.903, allocations: 0.7651 MB / 1.337 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/1.903, allocations: 73.09 kB / 1.337 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/1.903, allocations: 0 / 1.337 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.02155/1.924, allocations: 15.23 MB / 1.352 GB, free: 160 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)