Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.001568/0.001568, allocations: 188.5 kB / 376.9 MB, free: 1.805 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.537/1.537, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001053, allocations: 96.91 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3008, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02585/0.3267, allocations: 23.22 MB / 1.005 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.3388, allocations: 6.567 MB / 1.011 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.3418, allocations: 83.5 kB / 1.011 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004283/0.3462, allocations: 1.346 MB / 1.013 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005857/0.352, allocations: 1.743 MB / 1.014 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.3566, allocations: 1.338 MB / 1.016 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.6017/0.9583, allocations: 10.64 MB / 1.026 GB, free: 70.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01405/0.9725, allocations: 7.601 MB / 1.034 GB, free: 69.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007334/0.9798, allocations: 2.437 MB / 1.036 GB, free: 69.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.9916, allocations: 3.607 MB / 1.039 GB, free: 68.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.004093/0.9958, allocations: 380.1 kB / 1.04 GB, free: 68.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006427/1.002, allocations: 1.193 MB / 1.041 GB, free: 68.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.006504/1.009, allocations: 2.317 MB / 1.043 GB, free: 68.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.008582/1.017, allocations: 2.352 MB / 1.046 GB, free: 67.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01534/1.033, allocations: 8.395 MB / 1.054 GB, free: 67.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/1.033, allocations: 0 / 1.054 GB, free: 67.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.976e-06/1.033, allocations: 0 / 1.054 GB, free: 67.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004313/1.033, allocations: 0 / 1.054 GB, free: 67.14 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.02125/1.055, allocations: 4.421 MB / 1.058 GB, free: 65.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.055, allocations: 13.53 kB / 1.058 GB, free: 65.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/1.065, allocations: 1.677 MB / 1.06 GB, free: 65.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00781/1.073, allocations: 2.576 MB / 1.062 GB, free: 64.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/1.073, allocations: 278.2 kB / 1.062 GB, free: 64.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002366/1.075, allocations: 359.7 kB / 1.063 GB, free: 64.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/1.096, allocations: 7.479 MB / 1.07 GB, free: 62.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002674/1.096, allocations: 31.66 kB / 1.07 GB, free: 62.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/1.098, allocations: 154.2 kB / 1.07 GB, free: 62.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008224/1.099, allocations: 488.6 kB / 1.071 GB, free: 62.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/1.112, allocations: 5.702 MB / 1.076 GB, free: 60.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04204/1.155, allocations: 31.71 MB / 1.107 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/1.158, allocations: 2.088 MB / 1.109 GB, free: 35.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/1.161, allocations: 2.177 MB / 1.111 GB, free: 34.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/1.161, allocations: 16.22 kB / 1.111 GB, free: 34.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.161, allocations: 45.94 kB / 1.112 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=146): time 4.678e-06/1.161, allocations: 0.9375 kB / 1.112 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=251): time 0.3133/1.474, allocations: 77 MB / 1.187 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.475, allocations: 80.03 kB / 1.187 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/1.478, allocations: 1.666 MB / 1.188 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007183/1.479, allocations: 65.7 kB / 1.188 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/1.481, allocations: 1.745 MB / 1.19 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001967/1.483, allocations: 0.8546 MB / 1.191 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002157/1.485, allocations: 477.3 kB / 1.191 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.485, allocations: 313.1 kB / 1.192 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.49, allocations: 2.73 MB / 1.194 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/1.495, allocations: 3.329 MB / 1.198 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009165/1.504, allocations: 6.395 MB / 1.204 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/1.504, allocations: 4 kB / 1.204 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03563/1.54, allocations: 14.68 MB / 1.218 GB, free: 13 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/1.54, allocations: 12 kB / 1.218 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/1.54, allocations: 20 kB / 1.218 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03138/1.571, allocations: 9.245 MB / 1.227 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.573, allocations: 300.3 kB / 1.228 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08369/1.657, allocations: 47.44 MB / 1.274 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/1.661, allocations: 223.7 kB / 1.274 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008876/1.662, allocations: 100 kB / 1.274 GB, free: 2.949 MB / 0.8386 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005544/1.668, allocations: 1.596 MB / 1.276 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.669, allocations: 241.5 kB / 1.276 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03672/1.706, allocations: 14.76 MB / 1.29 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-05/1.706, allocations: 24 kB / 1.291 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002865/1.706, allocations: 44 kB / 1.291 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.127e-05/1.706, allocations: 15.89 kB / 1.291 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04961/1.756, allocations: 20.51 MB / 1.311 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/1.756, allocations: 11.94 kB / 1.311 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/1.757, allocations: 164.6 kB / 1.311 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02969/1.786, allocations: 9.008 MB / 1.32 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006551/1.787, allocations: 48 kB / 1.32 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07687/1.864, allocations: 47 MB / 1.365 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/1.864, allocations: 11.94 kB / 1.366 GB, free: 4.484 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03874/1.903, allocations: 19.71 MB / 1.385 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5332/2.436, allocations: 0.8397 MB / 1.386 GB, free: 282.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/2.437, allocations: 51.89 kB / 1.386 GB, free: 282.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/2.44, allocations: 206.4 kB / 1.386 GB, free: 282.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/2.441, allocations: 241.3 kB / 1.386 GB, free: 282.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/2.441, allocations: 64.5 kB / 1.386 GB, free: 282.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001711/2.443, allocations: 1.128 MB / 1.387 GB, free: 281.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/2.443, allocations: 1.625 kB / 1.387 GB, free: 281.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005116/2.448, allocations: 1.613 MB / 1.389 GB, free: 281.9 MB / 0.948 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004018/2.449, allocations: 165 kB / 1.389 GB, free: 281.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02481/2.473, allocations: 10.54 MB / 1.399 GB, free: 280.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/2.474, allocations: 1.312 kB / 1.399 GB, free: 280.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02276/2.496, allocations: 7.309 MB / 1.406 GB, free: 279.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/2.5, allocations: 0.5185 MB / 1.407 GB, free: 279.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/2.517, allocations: 11.96 MB / 1.419 GB, free: 275.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004031/2.522, allocations: 3.309 MB / 1.422 GB, free: 274.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001335/2.523, allocations: 390.7 kB / 1.422 GB, free: 274.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/2.523, allocations: 102.3 kB / 1.422 GB, free: 274.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.71e-07/2.523, allocations: 0 / 1.422 GB, free: 274.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1534/2.677, allocations: 93.33 MB / 1.513 GB, free: 244.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)