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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001276/0.001277, allocations: 194.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 251.7 MB / 0.5089 GB, free: 3.262 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.89 kB / 0.6218 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6248, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02174/0.6466, allocations: 20.28 MB / 0.7438 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.6609, allocations: 7.511 MB / 0.7511 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.6633, allocations: 55.75 kB / 0.7512 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004067/0.6675, allocations: 1.259 MB / 0.7524 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.6712, allocations: 0.903 MB / 0.7533 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00512/0.6764, allocations: 1.848 MB / 0.7551 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005497/0.6819, allocations: 4.347 MB / 0.7593 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.6945, allocations: 7.328 MB / 0.7665 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003573/0.6981, allocations: 1.858 MB / 0.7683 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.7021, allocations: 2.314 MB / 0.7706 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.7035, allocations: 428 kB / 0.771 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.7064, allocations: 0.9167 MB / 0.7719 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002828/0.7093, allocations: 1.645 MB / 0.7735 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002829/0.7121, allocations: 1.72 MB / 0.7752 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006102/0.7182, allocations: 6.167 MB / 0.7812 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7182, allocations: 0 / 0.7812 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7183, allocations: 0 / 0.7812 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000136/0.7184, allocations: 0 / 0.7812 GB, free: 2.324 MB / 0.5919 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.006551/0.725, allocations: 3.04 MB / 0.7842 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.725, allocations: 8.031 kB / 0.7842 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.728, allocations: 0.6805 MB / 0.7848 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.7309, allocations: 1.54 MB / 0.7863 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.731, allocations: 222.1 kB / 0.7865 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005528/0.7316, allocations: 284.3 kB / 0.7868 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009671/0.7413, allocations: 5.047 MB / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-05/0.7414, allocations: 7.938 kB / 0.7917 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.7417, allocations: 124 kB / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002909/0.742, allocations: 212.6 kB / 0.7921 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008083/0.7501, allocations: 4.177 MB / 0.7961 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03159/0.7818, allocations: 23.02 MB / 0.8186 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.7852, allocations: 1.715 MB / 0.8203 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.7869, allocations: 1.141 MB / 0.8214 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.7871, allocations: 97.73 kB / 0.8215 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.7872, allocations: 47.22 kB / 0.8216 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 4.518e-06/0.7872, allocations: 0 / 0.8216 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.008064/0.7953, allocations: 3.985 MB / 0.8254 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7954, allocations: 141.2 kB / 0.8256 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.7968, allocations: 0.8486 MB / 0.8264 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.7969, allocations: 41.7 kB / 0.8265 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008928/0.7978, allocations: 1.162 MB / 0.8276 GB, free: 184 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.7982, allocations: 315.5 kB / 0.8279 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005449/0.7988, allocations: 270.6 kB / 0.8281 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.799, allocations: 410.7 kB / 0.8285 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.8003, allocations: 0.8023 MB / 0.8293 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.8019, allocations: 1.291 MB / 0.8306 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.8048, allocations: 2.136 MB / 0.8327 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.8048, allocations: 4 kB / 0.8327 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003426/0.8083, allocations: 2.167 MB / 0.8348 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.8083, allocations: 12 kB / 0.8348 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.8083, allocations: 16 kB / 0.8348 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.307e-05/0.8084, allocations: 20 kB / 0.8348 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.81, allocations: 415.9 kB / 0.8352 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-05/0.8101, allocations: 27.92 kB / 0.8353 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.8116, allocations: 199.2 kB / 0.8354 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.8118, allocations: 59.98 kB / 0.8355 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002866/0.8147, allocations: 1.654 MB / 0.8371 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001442/0.8162, allocations: 1.178 MB / 0.8383 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002497/0.8187, allocations: 1.874 MB / 0.8401 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.82e-05/0.8187, allocations: 7.938 kB / 0.8401 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.0033/0.822, allocations: 1.875 MB / 0.8419 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.8221, allocations: 19.97 kB / 0.842 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/0.8221, allocations: 16 kB / 0.842 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.8221, allocations: 20 kB / 0.842 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.8234, allocations: 359.4 kB / 0.8423 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.313e-05/0.8235, allocations: 35.86 kB / 0.8424 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.8248, allocations: 159.4 kB / 0.8425 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.825, allocations: 59.94 kB / 0.8426 GB, free: 15.92 MB / 0.67 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.0004554/0.8254, allocations: 268 kB / 0.8428 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.8258, allocations: 102.8 kB / 0.8429 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.8288, allocations: 1.846 MB / 0.8447 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.8288, allocations: 8 kB / 0.8447 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.8288, allocations: 4 kB / 0.8447 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.8288, allocations: 3.984 kB / 0.8447 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.843, allocations: 9.58 MB / 0.8541 GB, free: 3.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.871e-05/0.8431, allocations: 12 kB / 0.8541 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.8444, allocations: 307.6 kB / 0.8544 GB, free: 3.527 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.429e-05/0.8444, allocations: 16 kB / 0.8544 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.8446, allocations: 31.94 kB / 0.8545 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-05/0.8446, allocations: 28.3 kB / 0.8545 GB, free: 3.453 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.446e-05/0.8446, allocations: 27.86 kB / 0.8545 GB, free: 3.426 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.8477, allocations: 2.398 MB / 0.8569 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000806/0.8485, allocations: 371.6 kB / 0.8572 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.8488, allocations: 32 kB / 0.8572 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.85, allocations: 143.7 kB / 0.8574 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.8502, allocations: 87.67 kB / 0.8575 GB, free: 232 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.8503, allocations: 36 kB / 0.8575 GB, free: 196 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001052/0.8514, allocations: 0.5889 MB / 0.8581 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8514, allocations: 0 / 0.8581 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003422/0.8548, allocations: 0.7461 MB / 0.8588 GB, free: 14.86 MB / 0.6856 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.0003444/0.8552, allocations: 154.9 kB / 0.8589 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004901/0.8601, allocations: 2.995 MB / 0.8619 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/0.8601, allocations: 4.062 kB / 0.8619 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.8615, allocations: 0.9157 MB / 0.8628 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.8638, allocations: 304.4 kB / 0.8631 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.8752, allocations: 6.206 MB / 0.8691 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/0.8785, allocations: 2.139 MB / 0.8712 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002264/0.8808, allocations: 0.7345 MB / 0.8719 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.8813, allocations: 87.41 kB / 0.872 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.8813, allocations: 4 kB / 0.872 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of Templates: time 0.03686/0.9181, allocations: 17.27 MB / 0.8889 GB, free: 24 kB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)