Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.0009949/0.0009951, allocations: 172.9 kB / 361.4 MB, free: 6.828 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.678/1.678, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.001273/0.001273, allocations: 99.88 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.906e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6673, allocations: 115.3 MB / 0.9644 GB, free: 79.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/0.8831, allocations: 165.7 MB / 1.126 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.8834, allocations: 92.88 kB / 1.126 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.9031/1.786, allocations: 138.2 MB / 1.261 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/1.786, allocations: 0 / 1.261 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003238/1.787, allocations: 94.3 kB / 1.261 GB, free: 181.8 MB / 0.8542 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.01144/1.798, allocations: 3.317 MB / 1.265 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.798, allocations: 12.5 kB / 1.265 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007257/1.806, allocations: 1.034 MB / 1.266 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00662/1.812, allocations: 2.614 MB / 1.268 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/1.812, allocations: 118 kB / 1.268 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/1.814, allocations: 208.7 kB / 1.268 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009949/1.824, allocations: 4.413 MB / 1.273 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/1.839, allocations: 6.087 MB / 1.279 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002195/1.84, allocations: 11.03 kB / 1.279 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/1.841, allocations: 10.34 kB / 1.279 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00108/1.842, allocations: 385.6 kB / 1.279 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03745/1.879, allocations: 31.35 MB / 1.31 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/1.882, allocations: 2.107 MB / 1.312 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/1.885, allocations: 2.159 MB / 1.314 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-05/1.886, allocations: 25.67 kB / 1.314 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.886, allocations: 48.23 kB / 1.314 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 3.787e-06/1.886, allocations: 3.312 kB / 1.314 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.05777/1.943, allocations: 21.95 MB / 1.335 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/1.943, allocations: 79.91 kB / 1.335 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/1.945, allocations: 1.241 MB / 1.337 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006881/1.946, allocations: 25.7 kB / 1.337 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008406/1.947, allocations: 1.729 MB / 1.338 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008931/1.948, allocations: 0.8189 MB / 1.339 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.948, allocations: 1.031 kB / 1.339 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.948, allocations: 415.9 kB / 1.34 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/1.951, allocations: 2.706 MB / 1.342 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/1.954, allocations: 3.229 MB / 1.345 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004714/1.959, allocations: 3.381 MB / 1.349 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.959, allocations: 2.938 kB / 1.349 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02105/1.98, allocations: 12 MB / 1.36 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/1.98, allocations: 10.38 kB / 1.36 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/1.98, allocations: 17.48 kB / 1.36 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02063/2.001, allocations: 7.892 MB / 1.368 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/2.002, allocations: 285 kB / 1.368 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0417/2.044, allocations: 31.32 MB / 1.399 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/2.047, allocations: 121.3 kB / 1.399 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/2.047, allocations: 272.5 kB / 1.399 GB, free: 129.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005864/2.048, allocations: 153 kB / 1.4 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/2.048, allocations: 229.3 kB / 1.4 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02036/2.069, allocations: 12.17 MB / 1.412 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/2.069, allocations: 27.95 kB / 1.412 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/2.069, allocations: 24 kB / 1.412 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/2.069, allocations: 14.02 kB / 1.412 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02844/2.097, allocations: 17.6 MB / 1.429 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/2.097, allocations: 5.219 kB / 1.429 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006567/2.098, allocations: 165.1 kB / 1.429 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01988/2.118, allocations: 7.81 MB / 1.437 GB, free: 99.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005391/2.118, allocations: 83.86 kB / 1.437 GB, free: 99.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04026/2.159, allocations: 30.91 MB / 1.467 GB, free: 67.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/2.159, allocations: 7.938 kB / 1.467 GB, free: 67.89 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/2.179, allocations: 12.29 MB / 1.479 GB, free: 55.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/2.181, allocations: 0.9899 MB / 1.48 GB, free: 54.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000621/2.182, allocations: 9.125 kB / 1.48 GB, free: 54.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/2.183, allocations: 119.7 kB / 1.48 GB, free: 54.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009613/2.184, allocations: 265.3 kB / 1.48 GB, free: 53.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/2.185, allocations: 239.8 kB / 1.481 GB, free: 53.69 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001235/2.186, allocations: 0.9347 MB / 1.481 GB, free: 52.76 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/2.186, allocations: 0.75 kB / 1.481 GB, free: 52.76 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004112/2.19, allocations: 1.129 MB / 1.483 GB, free: 51.63 MB / 0.8542 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 () * 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 (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: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005055/2.191, allocations: 146.9 kB / 1.483 GB, free: 51.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01517/2.206, allocations: 9.047 MB / 1.492 GB, free: 42.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.206, allocations: 2 kB / 1.492 GB, free: 42.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01221/2.218, allocations: 5.832 MB / 1.497 GB, free: 36.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/2.221, allocations: 421.6 kB / 1.498 GB, free: 36.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/2.232, allocations: 7.234 MB / 1.505 GB, free: 28.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002765/2.235, allocations: 3.188 MB / 1.508 GB, free: 25.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001154/2.236, allocations: 373 kB / 1.508 GB, free: 25.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/2.236, allocations: 97.12 kB / 1.508 GB, free: 25.16 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/2.236, allocations: 0 / 1.508 GB, free: 25.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.09605/2.332, allocations: 68.93 MB / 1.576 GB, free: 5.57 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)