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 1.741/1.741, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.001931/0.001931, allocations: 178.7 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.001101/0.001101, allocations: 94.3 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 19.95 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2567, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02834/0.2851, allocations: 34.49 MB / 1.012 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.3054, allocations: 10.59 MB / 1.023 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004331/0.3098, allocations: 139.2 kB / 1.023 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.3129, allocations: 0.7596 MB / 1.024 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006837/0.3197, allocations: 1.787 MB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004915/0.3247, allocations: 1.275 MB / 1.027 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0139/0.3386, allocations: 10.45 MB / 1.037 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02459/0.3633, allocations: 14.25 MB / 1.051 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007914/0.3713, allocations: 2.868 MB / 1.053 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009498/0.3808, allocations: 3.769 MB / 1.057 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.3831, allocations: 344 kB / 1.058 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004932/0.3881, allocations: 0.7064 MB / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005556/0.3937, allocations: 2.51 MB / 1.061 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004507/0.3982, allocations: 1.198 MB / 1.062 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5663/0.9645, allocations: 10.18 MB / 1.072 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.9646, allocations: 0 / 1.072 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9646, allocations: 0 / 1.072 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005565/0.9652, allocations: 0 / 1.072 GB, free: 28.87 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.01786/0.9831, allocations: 5.094 MB / 1.077 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.9831, allocations: 9.75 kB / 1.077 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008518/0.9916, allocations: 1.068 MB / 1.078 GB, free: 26.53 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/1.002, allocations: 3.425 MB / 1.081 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005305/1.002, allocations: 425.7 kB / 1.082 GB, free: 25.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/1.006, allocations: 0.5434 MB / 1.082 GB, free: 25.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02656/1.032, allocations: 9.329 MB / 1.091 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/1.032, allocations: 19.33 kB / 1.091 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009239/1.033, allocations: 249.1 kB / 1.091 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007393/1.034, allocations: 428.1 kB / 1.092 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/1.053, allocations: 7.071 MB / 1.099 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04949/1.102, allocations: 41.38 MB / 1.139 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/1.107, allocations: 3.096 MB / 1.142 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/1.11, allocations: 2.12 MB / 1.144 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/1.11, allocations: 21.47 kB / 1.144 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.854e-05/1.11, allocations: 59.78 kB / 1.144 GB, free: 10.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 3.967e-06/1.11, allocations: 0 / 1.144 GB, free: 10.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02405/1.134, allocations: 10.58 MB / 1.155 GB, free: 4.523 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/1.134, allocations: 87.44 kB / 1.155 GB, free: 4.453 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/1.137, allocations: 1.983 MB / 1.157 GB, free: 3.363 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/1.137, allocations: 65.02 kB / 1.157 GB, free: 3.305 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/1.138, allocations: 2.399 MB / 1.159 GB, free: 1.203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006003/1.139, allocations: 0.7292 MB / 1.16 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.139, allocations: 51.72 kB / 1.16 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.139, allocations: 421.8 kB / 1.16 GB, free: 152 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/1.141, allocations: 1.357 MB / 1.162 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/1.144, allocations: 2.093 MB / 1.164 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/1.148, allocations: 3.753 MB / 1.167 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/1.148, allocations: 8.656 kB / 1.167 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007395/1.155, allocations: 5.045 MB / 1.172 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.155, allocations: 14.38 kB / 1.172 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/1.155, allocations: 21.81 kB / 1.172 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003185/1.159, allocations: 1.56 MB / 1.174 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.16, allocations: 451.6 kB / 1.174 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/1.181, allocations: 17.09 MB / 1.191 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/1.185, allocations: 139.9 kB / 1.191 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002881/1.185, allocations: 108 kB / 1.191 GB, free: 5.945 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.004383/1.189, allocations: 1.955 MB / 1.193 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/1.19, allocations: 288.6 kB / 1.193 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006936/1.197, allocations: 4.43 MB / 1.198 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/1.197, allocations: 24 kB / 1.198 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.197, allocations: 20.23 kB / 1.198 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/1.197, allocations: 7.969 kB / 1.198 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/1.212, allocations: 9.657 MB / 1.207 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/1.212, allocations: 4 kB / 1.207 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/1.213, allocations: 237.7 kB / 1.207 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/1.216, allocations: 1.423 MB / 1.209 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/1.216, allocations: 40 kB / 1.209 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/1.236, allocations: 17.09 MB / 1.225 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.236, allocations: 7.375 kB / 1.225 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007273/1.244, allocations: 4.518 MB / 1.23 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.245, allocations: 0.6421 MB / 1.231 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/1.245, allocations: 40 kB / 1.231 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.247, allocations: 118.8 kB / 1.231 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004925/1.247, allocations: 180.7 kB / 1.231 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.247, allocations: 60 kB / 1.231 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001762/1.249, allocations: 1.303 MB / 1.232 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/1.249, allocations: 0 / 1.232 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003905/1.253, allocations: 1.141 MB / 1.233 GB, free: 10.29 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.0003972/1.253, allocations: 160.5 kB / 1.233 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007455/1.261, allocations: 4.67 MB / 1.238 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.261, allocations: 6.234 kB / 1.238 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004671/1.265, allocations: 2.926 MB / 1.241 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00554/1.271, allocations: 0.8171 MB / 1.242 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.288, allocations: 11.22 MB / 1.253 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004012/1.292, allocations: 3.69 MB / 1.256 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002268/1.294, allocations: 0.5556 MB / 1.257 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/1.294, allocations: 151.4 kB / 1.257 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of SimCode: time 1.383e-06/1.294, allocations: 0 / 1.257 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of Templates: time 0.08395/1.378, allocations: 48.77 MB / 1.305 GB, free: 2 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)