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.001688/0.001688, allocations: 101.2 kB / 16.31 MB, free: 6.441 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.001677/0.001677, allocations: 190.3 kB / 17.24 MB, free: 5.941 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05571/0.05571, allocations: 8.094 MB / 299.2 MB, free: 6.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 361.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2306, allocations: 51.52 MB / 413.2 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003565/0.2343, allocations: 3.849 MB / 417.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2366, allocations: 1.95 MB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.2368, allocations: 8 kB / 419.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.2373, allocations: 230.5 kB / 419.3 MB, free: 19.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007089/0.238, allocations: 393.5 kB / 419.7 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.2399, allocations: 1.306 MB / 421 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.2406, allocations: 0.7737 MB / 421.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.2409, allocations: 261.4 kB / 422 MB, free: 16.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.2411, allocations: 338.7 kB / 422.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.2415, allocations: 426.2 kB / 422.7 MB, free: 16.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.232e-05/0.2415, allocations: 60 kB / 422.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.242, allocations: 291.8 kB / 423.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2422, allocations: 163.4 kB / 423.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.2424, allocations: 378.1 kB / 423.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00083/0.2433, allocations: 0.9423 MB / 424.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2433, allocations: 0 / 424.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2433, allocations: 0 / 424.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.2433, allocations: 0 / 424.6 MB, free: 14.26 MB / 302.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.007649/0.251, allocations: 2.135 MB / 426.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.251, allocations: 8.031 kB / 426.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.2512, allocations: 80.09 kB / 426.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.2517, allocations: 473.8 kB / 427.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.2517, allocations: 45.38 kB / 427.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.2518, allocations: 64.36 kB / 427.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.2528, allocations: 0.8431 MB / 428.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2528, allocations: 192 / 428.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.2529, allocations: 27.94 kB / 428.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.2529, allocations: 12 kB / 428.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.2538, allocations: 0.7809 MB / 429 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.2572, allocations: 3.335 MB / 432.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.2585, allocations: 1.36 MB / 433.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.2591, allocations: 0.5896 MB / 434.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-05/0.2592, allocations: 24.97 kB / 434.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.2592, allocations: 47.5 kB / 434.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 2.565e-06/0.2592, allocations: 0 / 434.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=89): time 0.01388/0.2731, allocations: 3.962 MB / 438.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.2733, allocations: 115.8 kB / 438.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.2741, allocations: 437.6 kB / 438.9 MB, free: 15.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.2742, allocations: 49.7 kB / 438.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2744, allocations: 233.5 kB / 439.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.2747, allocations: 299.5 kB / 439.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.275, allocations: 182.6 kB / 439.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2752, allocations: 366.8 kB / 440 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.2759, allocations: 0.5447 MB / 440.5 MB, free: 13.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009141/0.2768, allocations: 0.6185 MB / 441.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.2785, allocations: 1.209 MB / 442.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2786, allocations: 0 / 442.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006259/0.2848, allocations: 2.378 MB / 444.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.2849, allocations: 14.48 kB / 444.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2849, allocations: 7.938 kB / 444.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006829/0.2917, allocations: 1.773 MB / 446.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.2924, allocations: 147.8 kB / 446.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.3064, allocations: 7.37 MB / 454 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000974/0.3074, allocations: 91.2 kB / 454.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.3075, allocations: 35.98 kB / 454.2 MB, free: 15.9 MB / 334.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.0004152/0.308, allocations: 209.7 kB / 454.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.3082, allocations: 71.09 kB / 454.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00649/0.3147, allocations: 2.323 MB / 456.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.3147, allocations: 8 kB / 456.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.3147, allocations: 3.938 kB / 456.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.3148, allocations: 7.984 kB / 456.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00782/0.3226, allocations: 3.324 MB / 460.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3226, allocations: 0 / 460.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.323, allocations: 111.8 kB / 460.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006553/0.3296, allocations: 1.518 MB / 461.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.904e-05/0.3297, allocations: 19.94 kB / 461.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.3427, allocations: 7.241 MB / 469 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3428, allocations: 0 / 469 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006214/0.349, allocations: 2.279 MB / 471.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.3492, allocations: 163.9 kB / 471.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.3493, allocations: 16 kB / 471.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006909/0.35, allocations: 55.95 kB / 471.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.3502, allocations: 72.89 kB / 471.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.3503, allocations: 28 kB / 471.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003505/0.3506, allocations: 295.1 kB / 471.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3506, allocations: 0 / 471.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009083/0.3516, allocations: 343.8 kB / 472.2 MB, free: 13.55 MB / 350.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.0002368/0.3518, allocations: 139.1 kB / 472.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004901/0.3567, allocations: 2.005 MB / 474.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3567, allocations: 8 kB / 474.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003301/0.36, allocations: 1.29 MB / 475.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.3606, allocations: 89.92 kB / 475.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3629, allocations: 1.377 MB / 477.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3633, allocations: 0.9218 MB / 478 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.3636, allocations: 92.78 kB / 478.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3638, allocations: 59.42 kB / 478.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3638, allocations: 3.938 kB / 478.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Templates: time 0.03387/0.3976, allocations: 22.52 MB / 0.489 GB, free: 1.027 MB / 366.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)