Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.696/1.696, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 175.4 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008445/0.0008445, allocations: 93.55 kB / 0.7808 GB, free: 43.63 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 13.06 kB / 0.9088 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5551, allocations: 120.3 MB / 1.026 GB, free: 56.28 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/0.791, allocations: 200 MB / 1.222 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.7913, allocations: 104.9 kB / 1.222 GB, free: 6.062 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.6641/1.455, allocations: 121.1 MB / 1.34 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.305e-06/1.455, allocations: 2.969 kB / 1.34 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002889/1.456, allocations: 76.94 kB / 1.34 GB, free: 176.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009034/1.465, allocations: 2.853 MB / 1.343 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.465, allocations: 13.05 kB / 1.343 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/1.47, allocations: 0.6708 MB / 1.343 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00545/1.475, allocations: 2.107 MB / 1.346 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/1.475, allocations: 222.6 kB / 1.346 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/1.477, allocations: 298.6 kB / 1.346 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/1.488, allocations: 4.641 MB / 1.351 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/1.488, allocations: 10.56 kB / 1.351 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009179/1.489, allocations: 128.4 kB / 1.351 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/1.489, allocations: 169.4 kB / 1.351 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006796/1.496, allocations: 3.405 MB / 1.354 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/1.517, allocations: 21.61 MB / 1.375 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.519, allocations: 1.282 MB / 1.377 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/1.52, allocations: 1.034 MB / 1.378 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/1.52, allocations: 13.38 kB / 1.378 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.52, allocations: 51.31 kB / 1.378 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=107): time 2.875e-06/1.52, allocations: 0 / 1.378 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138): time 0.02121/1.542, allocations: 8.641 MB / 1.386 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.542, allocations: 76.34 kB / 1.386 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/1.543, allocations: 1.103 MB / 1.387 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/1.543, allocations: 44.83 kB / 1.387 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/1.544, allocations: 1.31 MB / 1.388 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/1.544, allocations: 478.6 kB / 1.389 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.557e-05/1.544, allocations: 30.19 kB / 1.389 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.545, allocations: 377 kB / 1.389 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/1.546, allocations: 0.8739 MB / 1.39 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/1.547, allocations: 1.338 MB / 1.391 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/1.55, allocations: 2.425 MB / 1.394 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/1.55, allocations: 3.438 kB / 1.394 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005731/1.556, allocations: 3.423 MB / 1.397 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/1.556, allocations: 10.97 kB / 1.397 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/1.556, allocations: 14.66 kB / 1.397 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/1.559, allocations: 1.131 MB / 1.398 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.56, allocations: 268.6 kB / 1.399 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/1.576, allocations: 12.49 MB / 1.411 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/1.577, allocations: 89.48 kB / 1.411 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/1.577, allocations: 65.12 kB / 1.411 GB, free: 140.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002402/1.58, allocations: 1.126 MB / 1.412 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/1.58, allocations: 157.6 kB / 1.412 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005925/1.586, allocations: 3.117 MB / 1.415 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/1.586, allocations: 14.28 kB / 1.415 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.633e-05/1.586, allocations: 11.94 kB / 1.415 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.586, allocations: 8.219 kB / 1.415 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/1.598, allocations: 6.123 MB / 1.421 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.598, allocations: 3.938 kB / 1.421 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/1.599, allocations: 150.1 kB / 1.421 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/1.602, allocations: 1.031 MB / 1.422 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.602, allocations: 25.97 kB / 1.422 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.615, allocations: 12.2 MB / 1.434 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.615, allocations: 7.281 kB / 1.434 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004687/1.62, allocations: 3.092 MB / 1.437 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009634/1.621, allocations: 420.1 kB / 1.438 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004826/1.622, allocations: 34.73 kB / 1.438 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/1.623, allocations: 70.12 kB / 1.438 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/1.623, allocations: 132.1 kB / 1.438 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/1.623, allocations: 42.34 kB / 1.438 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001131/1.624, allocations: 0.7455 MB / 1.439 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/1.624, allocations: 0 / 1.439 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002459/1.627, allocations: 0.6728 MB / 1.439 GB, free: 126.6 MB / 0.8855 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/1.627, allocations: 142 kB / 1.44 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004072/1.631, allocations: 3.066 MB / 1.443 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.631, allocations: 4.062 kB / 1.443 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/1.634, allocations: 1.924 MB / 1.444 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.636, allocations: 444 kB / 1.445 GB, free: 124 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00801/1.644, allocations: 6.421 MB / 1.451 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.646, allocations: 2.335 MB / 1.453 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001106/1.647, allocations: 345.1 kB / 1.454 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/1.648, allocations: 88.12 kB / 1.454 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/1.648, allocations: 0 / 1.454 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.04355/1.691, allocations: 29.39 MB / 1.483 GB, free: 118.2 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)