Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001342/0.001342, allocations: 189.4 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002268/0.002268, allocations: 286.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9438/0.9438, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4617, allocations: 86.97 MB / 0.7671 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04467/0.5064, allocations: 37.26 MB / 0.8034 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03339/0.5399, allocations: 13.54 MB / 0.8167 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004148/0.544, allocations: 107.7 kB / 0.8168 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008429/0.5525, allocations: 2.286 MB / 0.819 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006095/0.5586, allocations: 1.404 MB / 0.8204 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01377/0.5724, allocations: 3.514 MB / 0.8238 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.584, allocations: 6.391 MB / 0.83 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01973/0.6037, allocations: 9.884 MB / 0.8397 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.609, allocations: 2.766 MB / 0.8424 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.6139, allocations: 3.198 MB / 0.8455 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.6156, allocations: 0.6172 MB / 0.8461 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.6184, allocations: 1.229 MB / 0.8473 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003555/0.622, allocations: 2.476 MB / 0.8497 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004578/0.6266, allocations: 2.556 MB / 0.8522 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00974/0.6364, allocations: 9.139 MB / 0.8612 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6364, allocations: 0 / 0.8612 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6364, allocations: 0 / 0.8612 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002346/0.6366, allocations: 0 / 0.8612 GB, free: 3.051 MB / 0.6231 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.009665/0.6463, allocations: 4.299 MB / 0.8654 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6464, allocations: 8.031 kB / 0.8654 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/0.6504, allocations: 0.9481 MB / 0.8663 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.6544, allocations: 2.222 MB / 0.8685 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.6547, allocations: 325 kB / 0.8688 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008141/0.6555, allocations: 432.2 kB / 0.8692 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/0.6689, allocations: 7.362 MB / 0.8764 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.08e-05/0.669, allocations: 15.88 kB / 0.8764 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004852/0.6695, allocations: 184 kB / 0.8766 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/0.6699, allocations: 290.9 kB / 0.8768 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009701/0.6796, allocations: 5.955 MB / 0.8827 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03539/0.715, allocations: 32.37 MB / 0.9143 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.7181, allocations: 2.115 MB / 0.9163 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.7195, allocations: 1.233 MB / 0.9175 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.7197, allocations: 106.1 kB / 0.9176 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.7197, allocations: 43.56 kB / 0.9177 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 3.036e-06/0.7197, allocations: 0 / 0.9177 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of matching and sorting (n=101): time 0.006914/0.7267, allocations: 5.231 MB / 0.9228 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.7267, allocations: 141.5 kB / 0.9229 GB, free: 448 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.7284, allocations: 1.46 MB / 0.9243 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.302e-05/0.7285, allocations: 41.7 kB / 0.9244 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.7296, allocations: 1.863 MB / 0.9262 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.7299, allocations: 374.8 kB / 0.9266 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006127/0.7306, allocations: 463 kB / 0.927 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.7307, allocations: 309.1 kB / 0.9273 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.7321, allocations: 1.122 MB / 0.9284 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.7343, allocations: 2.176 MB / 0.9305 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/0.738, allocations: 3.403 MB / 0.9338 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.738, allocations: 12 kB / 0.9339 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004518/0.7426, allocations: 3.304 MB / 0.9371 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.7426, allocations: 23.98 kB / 0.9371 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.7426, allocations: 32 kB / 0.9371 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-05/0.7427, allocations: 52.03 kB / 0.9372 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.7447, allocations: 0.62 MB / 0.9378 GB, free: 132 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.356e-05/0.7448, allocations: 71.61 kB / 0.9379 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.7465, allocations: 306.7 kB / 0.9382 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.7466, allocations: 124 kB / 0.9383 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003213/0.7499, allocations: 2.399 MB / 0.9406 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00191/0.7518, allocations: 2.015 MB / 0.9426 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003154/0.755, allocations: 3.029 MB / 0.9455 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.626e-05/0.755, allocations: 12 kB / 0.9456 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004113/0.7591, allocations: 2.926 MB / 0.9484 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.7591, allocations: 20 kB / 0.9484 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/0.7592, allocations: 36 kB / 0.9485 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.05e-05/0.7592, allocations: 48 kB / 0.9485 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.7609, allocations: 0.5498 MB / 0.949 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.368e-05/0.761, allocations: 71.72 kB / 0.9491 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.7627, allocations: 255 kB / 0.9494 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.7629, allocations: 108 kB / 0.9495 GB, free: 3.137 MB / 0.7169 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.0005994/0.7635, allocations: 339.2 kB / 0.9498 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.7638, allocations: 154.1 kB / 0.9499 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.7672, allocations: 2.227 MB / 0.9521 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.7672, allocations: 7.969 kB / 0.9521 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7673, allocations: 7.938 kB / 0.9521 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/0.7679, allocations: 430.8 kB / 0.9525 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.7681, allocations: 24 kB / 0.9526 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.7696, allocations: 291.5 kB / 0.9528 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.7698, allocations: 60.91 kB / 0.9529 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003432/0.7732, allocations: 2.471 MB / 0.9553 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002797/0.776, allocations: 2.49 MB / 0.9577 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001134/0.7772, allocations: 0.9757 MB / 0.9587 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001228/0.7784, allocations: 0.9703 MB / 0.9596 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of Backend: time 2.1e-07/0.7784, allocations: 0 / 0.9596 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00583/0.7843, allocations: 3.479 MB / 0.963 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of SimCode: time 0.3756/1.16, allocations: 6.355 MB / 0.9692 GB, free: 142 MB / 0.7325 GB Notification: Performance of Templates: time 0.05943/1.219, allocations: 38.74 MB / 1.007 GB, free: 125.4 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)