Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 99.06 kB / 16.44 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 192 kB / 17.38 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0642/0.0642, allocations: 8.097 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 51.51 MB / 466 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.005702/0.1217, allocations: 3.858 MB / 469.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.1253, allocations: 1.964 MB / 471.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/0.1259, allocations: 12 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006828/0.1266, allocations: 230.5 kB / 472.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.1278, allocations: 389.5 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.1304, allocations: 1.315 MB / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.1315, allocations: 0.793 MB / 474.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.132, allocations: 261.5 kB / 474.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004977/0.1325, allocations: 330.8 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.1332, allocations: 426.2 kB / 475.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.1334, allocations: 64 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000623/0.134, allocations: 307.7 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1342, allocations: 155.4 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.1345, allocations: 382 kB / 476.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.1355, allocations: 0.9306 MB / 477.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1355, allocations: 0 / 477.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1355, allocations: 0 / 477.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1355, allocations: 4 kB / 477.4 MB, free: 6.773 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007731/0.1433, allocations: 2.132 MB / 479.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1433, allocations: 8.031 kB / 479.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.1435, allocations: 84 kB / 479.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.1442, allocations: 485.7 kB / 480.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.1442, allocations: 45.38 kB / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1443, allocations: 60.38 kB / 480.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1456, allocations: 0.8314 MB / 481 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1456, allocations: 8.125 kB / 481 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.1457, allocations: 23.94 kB / 481 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1457, allocations: 12 kB / 481 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.1469, allocations: 0.7848 MB / 481.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.1513, allocations: 3.323 MB / 485.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.153, allocations: 1.356 MB / 486.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/0.1538, allocations: 0.5883 MB / 487.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.1539, allocations: 24.97 kB / 487.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.1539, allocations: 43.56 kB / 487.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.154, allocations: 0 / 487.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01429/0.1682, allocations: 3.969 MB / 491.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.1683, allocations: 111.8 kB / 491.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.169, allocations: 437.7 kB / 491.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.1691, allocations: 49.64 kB / 491.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.1693, allocations: 233.4 kB / 491.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.1696, allocations: 303.5 kB / 492.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.1699, allocations: 186.6 kB / 492.4 MB, free: 7.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1701, allocations: 370.8 kB / 492.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/0.1709, allocations: 0.5369 MB / 493.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/0.1719, allocations: 0.6185 MB / 493.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.1737, allocations: 1.209 MB / 495.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1737, allocations: 0 / 495.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006253/0.18, allocations: 2.382 MB / 497.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.18, allocations: 4 kB / 497.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.18, allocations: 0 / 497.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006542/0.1866, allocations: 1.773 MB / 499.3 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.1872, allocations: 147.8 kB / 499.4 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.2006, allocations: 7.356 MB / 0.4949 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007446/0.2014, allocations: 91.2 kB / 0.495 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.2015, allocations: 28 kB / 0.495 GB, free: 8.453 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003155/0.2018, allocations: 213.7 kB / 0.4952 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.202, allocations: 67.19 kB / 0.4953 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005936/0.2079, allocations: 2.327 MB / 0.4976 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2079, allocations: 12 kB / 0.4976 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2079, allocations: 3.938 kB / 0.4976 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.208, allocations: 3.984 kB / 0.4976 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006922/0.2149, allocations: 3.319 MB / 0.5008 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.2149, allocations: 0 / 0.5008 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.2153, allocations: 111.8 kB / 0.5009 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005986/0.2213, allocations: 1.495 MB / 0.5024 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/0.2214, allocations: 23.94 kB / 0.5024 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2568/0.4782, allocations: 7.222 MB / 0.5095 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4783, allocations: 2.531 kB / 0.5095 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/0.4842, allocations: 2.277 MB / 0.5117 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.4844, allocations: 154.7 kB / 0.5118 GB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.4845, allocations: 16.77 kB / 0.5119 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.4851, allocations: 55.03 kB / 0.5119 GB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.4854, allocations: 76.89 kB / 0.512 GB, free: 41.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/0.4855, allocations: 33.62 kB / 0.512 GB, free: 41.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000365/0.4858, allocations: 297.4 kB / 0.5123 GB, free: 41.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4858, allocations: 1 kB / 0.5123 GB, free: 41.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001105/0.4869, allocations: 337.9 kB / 0.5126 GB, free: 41.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002747/0.4872, allocations: 152.2 kB / 0.5128 GB, free: 41.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004737/0.492, allocations: 1.963 MB / 0.5147 GB, free: 40.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.492, allocations: 4.844 kB / 0.5147 GB, free: 40.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002937/0.4949, allocations: 1.308 MB / 0.516 GB, free: 40.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.4955, allocations: 81.27 kB / 0.5161 GB, free: 40.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.4978, allocations: 1.348 MB / 0.5174 GB, free: 39.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.4983, allocations: 0.921 MB / 0.5183 GB, free: 38.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000292/0.4986, allocations: 94.69 kB / 0.5184 GB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.4988, allocations: 59.12 kB / 0.5184 GB, free: 38.76 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4988, allocations: 0 / 0.5184 GB, free: 38.76 MB / 382.1 MB Notification: Performance of Templates: time 0.02622/0.525, allocations: 22.75 MB / 0.5406 GB, free: 22.67 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)