Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.0009851/0.0009852, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005227/0.000523, allocations: 16.3 kB / 0.6736 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.257, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02871/0.2858, allocations: 28.81 MB / 0.8153 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.3061, allocations: 13.81 MB / 0.8287 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.309, allocations: 123.2 kB / 0.8289 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.3112, allocations: 0.7064 MB / 0.8296 GB, free: 396 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007832/0.3191, allocations: 2.273 MB / 0.8318 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004424/0.3235, allocations: 1.406 MB / 0.8331 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008264/0.3318, allocations: 4.583 MB / 0.8376 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01581/0.3476, allocations: 9.854 MB / 0.8472 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.3528, allocations: 2.632 MB / 0.8498 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.3574, allocations: 2.413 MB / 0.8522 GB, free: 9.117 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0009393/0.3584, allocations: 300 kB / 0.8525 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.361, allocations: 0.7023 MB / 0.8531 GB, free: 8.121 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002378/0.3634, allocations: 2.097 MB / 0.8552 GB, free: 6.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.3652, allocations: 1.132 MB / 0.8563 GB, free: 4.879 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00981/0.375, allocations: 9.035 MB / 0.8651 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3751, allocations: 0 / 0.8651 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3751, allocations: 0 / 0.8651 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003189/0.3754, allocations: 0 / 0.8651 GB, free: 11.82 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01123/0.3867, allocations: 4.853 MB / 0.8699 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3867, allocations: 15.97 kB / 0.8699 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007402/0.3941, allocations: 1.121 MB / 0.871 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008494/0.4027, allocations: 3.236 MB / 0.8741 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.403, allocations: 370 kB / 0.8745 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.4041, allocations: 495.9 kB / 0.875 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.4177, allocations: 7.927 MB / 0.8827 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.4179, allocations: 27.77 kB / 0.8827 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004925/0.4183, allocations: 215.9 kB / 0.8829 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00109/0.4194, allocations: 441.5 kB / 0.8834 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.4296, allocations: 6.049 MB / 0.8893 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4992/0.9288, allocations: 35.21 MB / 0.9236 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/0.9325, allocations: 2.022 MB / 0.9256 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.9327, allocations: 18.89 kB / 0.9256 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.9328, allocations: 54.64 kB / 0.9257 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 4.448e-06/0.9328, allocations: 0 / 0.9257 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1358/1.069, allocations: 38.98 MB / 0.9637 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/1.069, allocations: 90.19 kB / 0.9638 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/1.071, allocations: 2.254 MB / 0.966 GB, free: 99.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/1.072, allocations: 73.7 kB / 0.9661 GB, free: 99.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000977/1.073, allocations: 2.272 MB / 0.9683 GB, free: 97.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/1.073, allocations: 0.9338 MB / 0.9692 GB, free: 96.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/1.073, allocations: 60 kB / 0.9693 GB, free: 96.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.073, allocations: 428.1 kB / 0.9697 GB, free: 95.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/1.076, allocations: 1.962 MB / 0.9716 GB, free: 93.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/1.078, allocations: 2.579 MB / 0.9741 GB, free: 90.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/1.081, allocations: 2.376 MB / 0.9765 GB, free: 88.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/1.081, allocations: 8 kB / 0.9765 GB, free: 88.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01161/1.092, allocations: 7.713 MB / 0.984 GB, free: 80.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.092, allocations: 12 kB / 0.984 GB, free: 80.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/1.092, allocations: 23.94 kB / 0.984 GB, free: 80.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007601/1.1, allocations: 3.215 MB / 0.9872 GB, free: 77.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.102, allocations: 406.3 kB / 0.9876 GB, free: 76.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03231/1.134, allocations: 32.35 MB / 1.019 GB, free: 43.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.137, allocations: 163.8 kB / 1.019 GB, free: 43.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/1.137, allocations: 108 kB / 1.019 GB, free: 43.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002985/1.14, allocations: 1.804 MB / 1.021 GB, free: 41.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/1.141, allocations: 328.1 kB / 1.021 GB, free: 41.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/1.152, allocations: 7.326 MB / 1.029 GB, free: 34.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.152, allocations: 28 kB / 1.029 GB, free: 34.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.168e-05/1.153, allocations: 28 kB / 1.029 GB, free: 33.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/1.153, allocations: 11.95 kB / 1.029 GB, free: 33.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/1.172, allocations: 12.91 MB / 1.041 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.172, allocations: 4 kB / 1.041 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/1.173, allocations: 233.7 kB / 1.042 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006706/1.18, allocations: 2.85 MB / 1.044 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002746/1.18, allocations: 52 kB / 1.044 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03501/1.215, allocations: 31.18 MB / 1.075 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.808e-05/1.215, allocations: 11.98 kB / 1.075 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.227, allocations: 7.41 MB / 1.082 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002632/1.23, allocations: 0.786 MB / 1.083 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/1.231, allocations: 51.98 kB / 1.083 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.232, allocations: 167.8 kB / 1.083 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000828/1.233, allocations: 257.4 kB / 1.083 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.233, allocations: 82.27 kB / 1.083 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002313/1.236, allocations: 1.506 MB / 1.085 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.236, allocations: 0 / 1.085 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00432/1.24, allocations: 1.367 MB / 1.086 GB, free: 5.73 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003927/1.24, allocations: 179.5 kB / 1.086 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01106/1.251, allocations: 6.914 MB / 1.093 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.252, allocations: 0 / 1.093 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007314/1.259, allocations: 4.413 MB / 1.097 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/1.263, allocations: 0.9846 MB / 1.098 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.281, allocations: 11.95 MB / 1.11 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004297/1.285, allocations: 3.737 MB / 1.114 GB, free: 9.297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00219/1.287, allocations: 0.5556 MB / 1.114 GB, free: 8.738 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/1.288, allocations: 163.4 kB / 1.114 GB, free: 8.578 MB / 0.795 GB Notification: Performance of SimCode: time 8.91e-07/1.288, allocations: 0 / 1.114 GB, free: 8.578 MB / 0.795 GB Notification: Performance of Templates: time 0.1214/1.409, allocations: 71.64 MB / 1.184 GB, free: 1.938 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: