Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.651/2.651, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001424/0.001424, allocations: 184.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 95.08 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005225, allocations: 20.48 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2285, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05034/0.2789, allocations: 34.48 MB / 1.012 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02776/0.3067, allocations: 10.59 MB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004108/0.3109, allocations: 135.3 kB / 1.023 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003926/0.3149, allocations: 0.7596 MB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007924/0.3228, allocations: 1.799 MB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006581/0.3295, allocations: 1.281 MB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01863/0.3482, allocations: 10.36 MB / 1.036 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0347/0.3829, allocations: 12.66 MB / 1.049 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008327/0.3913, allocations: 2.864 MB / 1.052 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009675/0.401, allocations: 3.765 MB / 1.055 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002459/0.4035, allocations: 352 kB / 1.056 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005168/0.4088, allocations: 0.7064 MB / 1.056 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.006057/0.4149, allocations: 2.517 MB / 1.059 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003681/0.4186, allocations: 1.19 MB / 1.06 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.695/1.114, allocations: 10.18 MB / 1.07 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/1.114, allocations: 1.703 kB / 1.07 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.549e-06/1.114, allocations: 0 / 1.07 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005631/1.114, allocations: 1.859 kB / 1.07 GB, free: 27.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.03055/1.145, allocations: 5.145 MB / 1.075 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/1.145, allocations: 9.312 kB / 1.075 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/1.16, allocations: 1.073 MB / 1.076 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/1.175, allocations: 3.351 MB / 1.079 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008761/1.176, allocations: 424.5 kB / 1.08 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003397/1.179, allocations: 0.5387 MB / 1.08 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04268/1.222, allocations: 9.33 MB / 1.089 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000424/1.223, allocations: 27.03 kB / 1.089 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002708/1.225, allocations: 244.6 kB / 1.089 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/1.226, allocations: 417.9 kB / 1.09 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02472/1.251, allocations: 7.077 MB / 1.097 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07099/1.322, allocations: 41.37 MB / 1.137 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008559/1.331, allocations: 3.091 MB / 1.14 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005458/1.336, allocations: 2.113 MB / 1.142 GB, free: 9.379 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/1.337, allocations: 25.14 kB / 1.142 GB, free: 9.379 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.098e-05/1.337, allocations: 63.55 kB / 1.142 GB, free: 9.316 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 6.663e-06/1.337, allocations: 2.406 kB / 1.142 GB, free: 9.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.04471/1.382, allocations: 10.45 MB / 1.153 GB, free: 4.336 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/1.382, allocations: 81.58 kB / 1.153 GB, free: 4.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/1.386, allocations: 1.986 MB / 1.155 GB, free: 3.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000506/1.387, allocations: 65.52 kB / 1.155 GB, free: 3.121 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002603/1.389, allocations: 2.404 MB / 1.157 GB, free: 1.012 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.391, allocations: 0.7277 MB / 1.158 GB, free: 392 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/1.391, allocations: 51.34 kB / 1.158 GB, free: 352 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003853/1.392, allocations: 417.9 kB / 1.158 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004084/1.396, allocations: 1.364 MB / 1.159 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/1.401, allocations: 2.097 MB / 1.161 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/1.405, allocations: 1.714 MB / 1.163 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-05/1.405, allocations: 8.031 kB / 1.163 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01527/1.42, allocations: 5.041 MB / 1.168 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/1.42, allocations: 22.11 kB / 1.168 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/1.421, allocations: 20.84 kB / 1.168 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006465/1.427, allocations: 1.562 MB / 1.17 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/1.43, allocations: 454 kB / 1.17 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03734/1.468, allocations: 17.07 MB / 1.187 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/1.472, allocations: 147.9 kB / 1.187 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006249/1.472, allocations: 106 kB / 1.187 GB, free: 8.457 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005672/1.478, allocations: 1.942 MB / 1.189 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.479, allocations: 284.7 kB / 1.189 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.493, allocations: 4.433 MB / 1.194 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/1.493, allocations: 20 kB / 1.194 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-05/1.493, allocations: 16 kB / 1.194 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.534e-05/1.493, allocations: 20.03 kB / 1.194 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02985/1.523, allocations: 9.651 MB / 1.203 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.152e-05/1.523, allocations: 4.25 kB / 1.203 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/1.525, allocations: 233.2 kB / 1.203 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006557/1.532, allocations: 1.423 MB / 1.205 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004741/1.532, allocations: 40 kB / 1.205 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03795/1.57, allocations: 17.09 MB / 1.221 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.57, allocations: 6.812 kB / 1.221 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.584, allocations: 4.525 MB / 1.226 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002733/1.587, allocations: 0.6344 MB / 1.226 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/1.588, allocations: 40 kB / 1.226 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/1.591, allocations: 111.9 kB / 1.227 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009593/1.592, allocations: 180.7 kB / 1.227 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/1.592, allocations: 64 kB / 1.227 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003398/1.596, allocations: 1.298 MB / 1.228 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.82e-07/1.596, allocations: 0 / 1.228 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006255/1.602, allocations: 1.141 MB / 1.229 GB, free: 12.83 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007465/1.603, allocations: 168.4 kB / 1.229 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01392/1.617, allocations: 4.667 MB / 1.234 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.617, allocations: 2.234 kB / 1.234 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00893/1.626, allocations: 2.93 MB / 1.237 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009554/1.635, allocations: 0.8447 MB / 1.238 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03282/1.668, allocations: 11.21 MB / 1.248 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008802/1.677, allocations: 3.69 MB / 1.252 GB, free: 5.258 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003697/1.681, allocations: 0.5557 MB / 1.253 GB, free: 4.695 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009097/1.682, allocations: 147.4 kB / 1.253 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of SimCode: time 1.232e-06/1.682, allocations: 6.516 kB / 1.253 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of Templates: time 0.1467/1.829, allocations: 48.8 MB / 1.3 GB, free: 4.484 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)