Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008483/0.0008483, allocations: 92 kB / 15.06 MB, free: 1.098 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.000943/0.0009431, allocations: 172.7 kB / 15.95 MB, free: 208 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.511/1.511, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.593/1.593, allocations: 252 MB / 0.5102 GB, free: 4.852 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.0005749/0.0005751, allocations: 16 kB / 0.6243 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.656, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02652/0.6826, allocations: 24.2 MB / 0.7518 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.6975, allocations: 7.75 MB / 0.7593 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.7004, allocations: 103.4 kB / 0.7594 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.7021, allocations: 0.5077 MB / 0.7599 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004092/0.7062, allocations: 1.275 MB / 0.7612 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.7096, allocations: 0.9851 MB / 0.7621 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008357/0.7179, allocations: 6.88 MB / 0.7689 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.7307, allocations: 8.17 MB / 0.7768 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.7345, allocations: 1.875 MB / 0.7787 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.7385, allocations: 2.406 MB / 0.781 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.7391, allocations: 212 kB / 0.7812 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.7411, allocations: 0.6008 MB / 0.7818 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001851/0.7429, allocations: 1.664 MB / 0.7834 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.7441, allocations: 0.7966 MB / 0.7842 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006682/0.7508, allocations: 6.625 MB / 0.7907 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.7508, allocations: 0 / 0.7907 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.32e-06/0.7509, allocations: 4 kB / 0.7907 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002632/0.7511, allocations: 0 / 0.7907 GB, free: 11.16 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.00829/0.7594, allocations: 3.464 MB / 0.7941 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7595, allocations: 8.031 kB / 0.7941 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.7641, allocations: 0.7991 MB / 0.7948 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00597/0.7701, allocations: 2.37 MB / 0.7972 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.7703, allocations: 275.2 kB / 0.7974 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009751/0.7713, allocations: 375.9 kB / 0.7978 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.7837, allocations: 5.963 MB / 0.8036 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.7839, allocations: 23.78 kB / 0.8036 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004265/0.7843, allocations: 156 kB / 0.8038 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006026/0.7849, allocations: 286.9 kB / 0.8041 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007793/0.7927, allocations: 4.489 MB / 0.8084 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03174/0.8245, allocations: 27.69 MB / 0.8355 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.8263, allocations: 1.12 MB / 0.8366 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.8277, allocations: 1.019 MB / 0.8376 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.973e-05/0.8278, allocations: 9 kB / 0.8376 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.8279, allocations: 51.5 kB / 0.8376 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 5.37e-06/0.8279, allocations: 3.984 kB / 0.8376 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02263/0.8505, allocations: 9.659 MB / 0.8471 GB, free: 14.31 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.8506, allocations: 68.72 kB / 0.8471 GB, free: 14.23 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.853, allocations: 1.478 MB / 0.8486 GB, free: 12.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.8532, allocations: 49.7 kB / 0.8486 GB, free: 12.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.8545, allocations: 1.671 MB / 0.8502 GB, free: 11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004817/0.8549, allocations: 469.3 kB / 0.8507 GB, free: 10.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.855, allocations: 36 kB / 0.8507 GB, free: 10.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.8552, allocations: 373.9 kB / 0.8511 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.8566, allocations: 0.9057 MB / 0.852 GB, free: 9.223 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.8583, allocations: 1.459 MB / 0.8534 GB, free: 7.527 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.86, allocations: 1.146 MB / 0.8545 GB, free: 6.379 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.86, allocations: 8 kB / 0.8545 GB, free: 6.371 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005653/0.8656, allocations: 3.274 MB / 0.8577 GB, free: 3.059 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.8657, allocations: 13.88 kB / 0.8577 GB, free: 3.047 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.8657, allocations: 16 kB / 0.8577 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.8678, allocations: 0.7416 MB / 0.8585 GB, free: 2.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.8692, allocations: 387.3 kB / 0.8588 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.8845, allocations: 15.75 MB / 0.8742 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.8864, allocations: 99.91 kB / 0.8743 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.8866, allocations: 79.95 kB / 0.8744 GB, free: 0.7461 MB / 0.6856 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002799/0.8894, allocations: 1.316 MB / 0.8757 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005457/0.89, allocations: 197.7 kB / 0.8759 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005262/0.8952, allocations: 2.777 MB / 0.8786 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.8953, allocations: 12 kB / 0.8786 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.248e-05/0.8953, allocations: 15.94 kB / 0.8786 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.8954, allocations: 7.984 kB / 0.8786 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.9064, allocations: 6.209 MB / 0.8847 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.9065, allocations: 8 kB / 0.8847 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.9076, allocations: 227.7 kB / 0.8849 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/0.9096, allocations: 0.6716 MB / 0.8856 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.9097, allocations: 35.98 kB / 0.8856 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.9266, allocations: 15.5 MB / 0.9007 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.9266, allocations: 11.89 kB / 0.9007 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007025/0.9336, allocations: 3.993 MB / 0.9046 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.9349, allocations: 466.7 kB / 0.9051 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.9351, allocations: 35.78 kB / 0.9051 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008135/0.9359, allocations: 83.89 kB / 0.9052 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.9362, allocations: 116.7 kB / 0.9053 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.9363, allocations: 36 kB / 0.9053 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001437/0.9378, allocations: 0.9903 MB / 0.9063 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9378, allocations: 0 / 0.9063 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002419/0.9402, allocations: 0.6836 MB / 0.907 GB, free: 13.82 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003135/0.9405, allocations: 147.1 kB / 0.9071 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005154/0.9457, allocations: 3.491 MB / 0.9105 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.9457, allocations: 4.875 kB / 0.9105 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/0.949, allocations: 2.279 MB / 0.9128 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.9518, allocations: 0.6269 MB / 0.9134 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4486/1.4, allocations: 7.829 MB / 0.921 GB, free: 175.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004535/1.405, allocations: 2.668 MB / 0.9236 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002535/1.408, allocations: 485.4 kB / 0.9241 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/1.408, allocations: 117 kB / 0.9242 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.684e-06/1.408, allocations: 3.344 kB / 0.9242 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.05614/1.464, allocations: 31.19 MB / 0.9547 GB, free: 159.9 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: