Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 105 kB / 16.31 MB, free: 6.391 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.001553/0.001553, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.376/1.376, 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.05616/0.05616, allocations: 8.103 MB / 299.2 MB, free: 6.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.89 kB / 361.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2591, allocations: 51.51 MB / 413.2 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002429/0.2615, allocations: 1.777 MB / 415 MB, free: 23.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2631, allocations: 1.578 MB / 416.6 MB, free: 22.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.2632, allocations: 4 kB / 416.6 MB, free: 22.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.2636, allocations: 127.3 kB / 416.7 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.2639, allocations: 155 kB / 416.9 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.2653, allocations: 1.058 MB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.2655, allocations: 274.7 kB / 418.2 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2657, allocations: 84.69 kB / 418.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.2657, allocations: 119.5 kB / 418.4 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.2659, allocations: 135.4 kB / 418.5 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.2659, allocations: 20 kB / 418.6 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.2663, allocations: 247.8 kB / 418.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.2663, allocations: 63.7 kB / 418.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.2664, allocations: 131.3 kB / 419 MB, free: 19.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.2668, allocations: 460.6 kB / 419.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2669, allocations: 0 / 419.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2669, allocations: 0 / 419.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2669, allocations: 0 / 419.4 MB, free: 19.38 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003599/0.2705, allocations: 1.1 MB / 420.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2705, allocations: 12.03 kB / 420.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.2706, allocations: 32.56 kB / 420.6 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.2708, allocations: 271.6 kB / 420.8 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2709, allocations: 20.75 kB / 420.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.2709, allocations: 24.38 kB / 420.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.2714, allocations: 347.7 kB / 421.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2714, allocations: 4.188 kB / 421.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.2714, allocations: 11.94 kB / 421.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2714, allocations: 4 kB / 421.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.2718, allocations: 291.3 kB / 421.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.2732, allocations: 1.35 MB / 422.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.274, allocations: 394.1 kB / 423.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.2742, allocations: 168.8 kB / 423.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.2748, allocations: 0.6932 MB / 424.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.2749, allocations: 38.73 kB / 424.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.182e-06/0.2749, allocations: 4 kB / 424.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.003115/0.278, allocations: 1.127 MB / 425.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.278, allocations: 110.8 kB / 425.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2782, allocations: 224.9 kB / 425.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2782, allocations: 37.7 kB / 425.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.2783, allocations: 148.5 kB / 425.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.2784, allocations: 98.64 kB / 425.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2785, allocations: 82.11 kB / 426 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.2785, allocations: 334.8 kB / 426.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.2788, allocations: 192.8 kB / 426.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.2791, allocations: 271.1 kB / 426.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.2796, allocations: 468.7 kB / 427.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2796, allocations: 15.97 kB / 427.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001774/0.2814, allocations: 0.8143 MB / 428 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2814, allocations: 8 kB / 428.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2814, allocations: 0 / 428.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.2832, allocations: 417.3 kB / 428.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.2835, allocations: 75.89 kB / 428.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/0.2873, allocations: 4.015 MB / 432.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.2876, allocations: 51.55 kB / 432.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.2877, allocations: 19.94 kB / 432.6 MB, free: 5.414 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.2878, allocations: 153.8 kB / 432.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.2879, allocations: 23.72 kB / 432.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.2896, allocations: 0.7485 MB / 433.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2896, allocations: 4 kB / 433.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2896, allocations: 0 / 433.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2896, allocations: 4 kB / 433.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.29, allocations: 409.2 kB / 434 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.29, allocations: 3.938 kB / 434 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.2901, allocations: 43.92 kB / 434 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.2919, allocations: 417.5 kB / 434.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2919, allocations: 8 kB / 434.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/0.2956, allocations: 4.004 MB / 438.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2956, allocations: 4 kB / 438.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.2974, allocations: 0.7705 MB / 439.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.2975, allocations: 108.7 kB / 439.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.2976, allocations: 8 kB / 439.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.2978, allocations: 15.98 kB / 439.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.2979, allocations: 23.97 kB / 439.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.2979, allocations: 4 kB / 439.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.2981, allocations: 168.5 kB / 439.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2981, allocations: 3.938 kB / 439.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.2986, allocations: 127.8 kB / 439.6 MB, free: 14 MB / 318.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.2988, allocations: 115.2 kB / 439.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.3004, allocations: 0.7791 MB / 440.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3004, allocations: 3.938 kB / 440.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.3014, allocations: 0.5137 MB / 441.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3017, allocations: 26.62 kB / 441.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3028, allocations: 0.5488 MB / 441.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3031, allocations: 0.761 MB / 442.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3033, allocations: 34.27 kB / 442.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.3033, allocations: 27.42 kB / 442.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3033, allocations: 0 / 442.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of Templates: time 0.01138/0.3147, allocations: 6.39 MB / 448.8 MB, free: 4.723 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)