Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 110.3 kB / 17.08 MB, free: 5.777 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.001103/0.001103, allocations: 195 kB / 18.02 MB, free: 4.953 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05231/0.05231, allocations: 8.087 MB / 300 MB, free: 6.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.89 kB / 363.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2707, allocations: 51.52 MB / 414.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002738/0.2735, allocations: 2.235 MB / 416.9 MB, free: 23.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2753, allocations: 1.676 MB / 418.6 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2754, allocations: 4 kB / 418.6 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.2758, allocations: 151.1 kB / 418.8 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.2762, allocations: 190.8 kB / 418.9 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.2776, allocations: 0.9686 MB / 419.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.278, allocations: 425.9 kB / 420.3 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.2782, allocations: 127.2 kB / 420.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2783, allocations: 175.3 kB / 420.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.2785, allocations: 219.1 kB / 420.8 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.2786, allocations: 35.94 kB / 420.9 MB, free: 19.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.2789, allocations: 223.8 kB / 421.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.279, allocations: 83.69 kB / 421.2 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.2791, allocations: 199 kB / 421.4 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.2796, allocations: 0.5391 MB / 421.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2796, allocations: 0 / 421.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2796, allocations: 0 / 421.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2796, allocations: 0 / 421.9 MB, free: 18.25 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003474/0.2831, allocations: 1.15 MB / 423.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.2832, allocations: 11.89 kB / 423.1 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.2833, allocations: 44.47 kB / 423.1 MB, free: 16.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.2837, allocations: 323.5 kB / 423.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.2838, allocations: 28.94 kB / 423.5 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.2838, allocations: 28.38 kB / 423.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.2844, allocations: 417.3 kB / 423.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.2845, allocations: 4.188 kB / 423.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.2845, allocations: 15.94 kB / 423.9 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2845, allocations: 4 kB / 423.9 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.2851, allocations: 414 kB / 424.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.2871, allocations: 1.538 MB / 425.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2882, allocations: 0.553 MB / 426.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2885, allocations: 289.4 kB / 426.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.445e-05/0.2886, allocations: 12.3 kB / 426.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2886, allocations: 42.94 kB / 426.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.593e-06/0.2886, allocations: 0 / 426.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.004094/0.2927, allocations: 1.643 MB / 428.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2928, allocations: 55.41 kB / 428.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.293, allocations: 286.6 kB / 428.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.2931, allocations: 33.7 kB / 428.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.2932, allocations: 161 kB / 428.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/0.2933, allocations: 161.6 kB / 429.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.2934, allocations: 94.23 kB / 429.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.2935, allocations: 342.8 kB / 429.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.2938, allocations: 261 kB / 429.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.2941, allocations: 272.9 kB / 430 MB, free: 9.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.2948, allocations: 0.5936 MB / 430.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2948, allocations: 0 / 430.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001937/0.2967, allocations: 1.016 MB / 431.6 MB, free: 8.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2968, allocations: 8 kB / 431.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2968, allocations: 0 / 431.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.2984, allocations: 426.1 kB / 432.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.2987, allocations: 75.89 kB / 432.1 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005429/0.3041, allocations: 6.124 MB / 438.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.3045, allocations: 39.53 kB / 438.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.3045, allocations: 19.98 kB / 438.3 MB, free: 1.039 MB / 302.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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.3047, allocations: 154.5 kB / 438.5 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.3048, allocations: 39.56 kB / 438.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.3069, allocations: 0.9936 MB / 439.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3069, allocations: 7.984 kB / 439.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3069, allocations: 0 / 439.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3069, allocations: 3.984 kB / 439.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.3075, allocations: 0.5637 MB / 440.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3076, allocations: 8 kB / 440.1 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.3078, allocations: 59.91 kB / 440.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.3094, allocations: 422.1 kB / 440.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.3095, allocations: 8 kB / 440.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/0.3159, allocations: 6.03 MB / 446.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.316, allocations: 7.969 kB / 446.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.3181, allocations: 1.01 MB / 447.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3182, allocations: 124.4 kB / 447.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.3183, allocations: 11.94 kB / 447.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.3186, allocations: 31.97 kB / 447.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.3187, allocations: 32.39 kB / 447.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.3188, allocations: 19.98 kB / 447.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.319, allocations: 198 kB / 448 MB, free: 6.773 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.319, allocations: 0 / 448 MB, free: 6.773 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006733/0.3197, allocations: 171.9 kB / 448.2 MB, free: 6.605 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002214/0.3199, allocations: 127.1 kB / 448.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.3219, allocations: 1.091 MB / 449.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3219, allocations: 4 kB / 449.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.3233, allocations: 0.7678 MB / 450.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.3237, allocations: 48.81 kB / 450.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.325, allocations: 0.7445 MB / 451 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3254, allocations: 0.8012 MB / 451.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.3256, allocations: 58.91 kB / 451.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.3257, allocations: 31.44 kB / 451.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3257, allocations: 0 / 451.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of Templates: time 0.01671/0.3424, allocations: 10.82 MB / 462.7 MB, free: 8.047 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)