Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.688/1.688, allocations: 297.8 MB / 313.7 MB, free: 120 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.0009456/0.0009456, allocations: 183.1 kB / 384.6 MB, free: 10.86 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.337/1.337, allocations: 223.2 MB / 0.6626 GB, free: 4.348 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.0007716/0.0007716, allocations: 103.8 kB / 0.7808 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004254, allocations: 15.62 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6002/0.6007, allocations: 120.3 MB / 1.026 GB, free: 56.94 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2202/0.8209, allocations: 213.2 MB / 1.234 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.8212, allocations: 103.9 kB / 1.235 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.6655/1.487, allocations: 92.01 MB / 1.324 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.934e-06/1.487, allocations: 0 / 1.324 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001243/1.487, allocations: 48.06 kB / 1.324 GB, free: 183.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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003371/1.49, allocations: 1.843 MB / 1.326 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.49, allocations: 9.188 kB / 1.326 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.501, allocations: 1.968 MB / 1.328 GB, free: 182 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003997/1.505, allocations: 1.58 MB / 1.33 GB, free: 181.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/1.505, allocations: 88.89 kB / 1.33 GB, free: 181.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/1.505, allocations: 110.9 kB / 1.33 GB, free: 181.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005715/1.511, allocations: 2.737 MB / 1.333 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/1.511, allocations: 12.89 kB / 1.333 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/1.511, allocations: 58.12 kB / 1.333 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/1.511, allocations: 90.94 kB / 1.333 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006871/1.518, allocations: 2.844 MB / 1.336 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/1.532, allocations: 10.73 MB / 1.346 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005736/1.538, allocations: 2.39 MB / 1.348 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002727/1.541, allocations: 1.31 MB / 1.35 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.939e-05/1.541, allocations: 13.86 kB / 1.35 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/1.541, allocations: 48.84 kB / 1.35 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=89): time 4.479e-06/1.541, allocations: 0 / 1.35 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=153): time 0.05432/1.595, allocations: 17.35 MB / 1.367 GB, free: 174 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/1.595, allocations: 222.1 kB / 1.367 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/1.597, allocations: 1.171 MB / 1.368 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/1.597, allocations: 51.33 kB / 1.368 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/1.597, allocations: 0.7397 MB / 1.369 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004343/1.598, allocations: 0.5103 MB / 1.369 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/1.598, allocations: 30.12 kB / 1.369 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/1.598, allocations: 368.6 kB / 1.37 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/1.601, allocations: 1.538 MB / 1.371 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/1.604, allocations: 1.832 MB / 1.373 GB, free: 172 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007104/1.611, allocations: 3.4 MB / 1.376 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/1.611, allocations: 4 kB / 1.376 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01328/1.625, allocations: 5.409 MB / 1.382 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/1.625, allocations: 7.656 kB / 1.382 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.625, allocations: 6.406 kB / 1.382 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007797/1.632, allocations: 2.138 MB / 1.384 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/1.634, allocations: 420.5 kB / 1.384 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/1.661, allocations: 22.57 MB / 1.406 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/1.664, allocations: 326.8 kB / 1.406 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/1.664, allocations: 65.14 kB / 1.406 GB, free: 152.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001004/1.665, allocations: 466.4 kB / 1.407 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/1.666, allocations: 177.1 kB / 1.407 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/1.68, allocations: 5.475 MB / 1.412 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.68, allocations: 15.25 kB / 1.412 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-05/1.68, allocations: 19.11 kB / 1.412 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/1.68, allocations: 8.266 kB / 1.412 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/1.698, allocations: 7.705 MB / 1.42 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.698, allocations: 7.656 kB / 1.42 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.7, allocations: 368.6 kB / 1.42 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006732/1.706, allocations: 1.99 MB / 1.422 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/1.707, allocations: 42.45 kB / 1.422 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/1.728, allocations: 21.76 MB / 1.444 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.728, allocations: 6.094 kB / 1.444 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.74, allocations: 5.086 MB / 1.449 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.741, allocations: 0.5089 MB / 1.449 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006752/1.742, allocations: 34.06 kB / 1.449 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/1.744, allocations: 332.6 kB / 1.449 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005755/1.745, allocations: 147.4 kB / 1.45 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.745, allocations: 52.44 kB / 1.45 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001513/1.747, allocations: 0.7895 MB / 1.45 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/1.747, allocations: 4 kB / 1.45 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004023/1.751, allocations: 0.7235 MB / 1.451 GB, free: 129.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006298/1.751, allocations: 217.3 kB / 1.451 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.762, allocations: 5.205 MB / 1.456 GB, free: 127 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.762, allocations: 0 / 1.456 GB, free: 127 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006243/1.768, allocations: 3.4 MB / 1.46 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/1.772, allocations: 0.5158 MB / 1.46 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008488/1.78, allocations: 4.859 MB / 1.465 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/1.782, allocations: 1.572 MB / 1.466 GB, free: 122 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001977/1.784, allocations: 405 kB / 1.467 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/1.784, allocations: 121.4 kB / 1.467 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/1.784, allocations: 3.828 kB / 1.467 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.06483/1.849, allocations: 44.61 MB / 1.511 GB, free: 96.79 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)