Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 101.4 kB / 16.31 MB, free: 6.359 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.001024/0.001024, allocations: 189.8 kB / 17.24 MB, free: 5.875 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05378/0.05378, allocations: 8.1 MB / 299.2 MB, free: 6.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 60.09 kB / 361.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2775, allocations: 51.51 MB / 413.2 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.003063/0.2806, allocations: 1.68 MB / 414.9 MB, free: 23.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2824, allocations: 1.563 MB / 416.5 MB, free: 22.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.597e-05/0.2825, allocations: 15.88 kB / 416.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.2829, allocations: 123.3 kB / 416.6 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.2832, allocations: 131.1 kB / 416.7 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.2844, allocations: 0.9102 MB / 417.7 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.2847, allocations: 258.7 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.2849, allocations: 84.59 kB / 418 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.285, allocations: 115.5 kB / 418.1 MB, free: 20.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2851, allocations: 139.5 kB / 418.2 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.2852, allocations: 20 kB / 418.3 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.2855, allocations: 211.8 kB / 418.5 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.2855, allocations: 55.77 kB / 418.5 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2856, allocations: 127.3 kB / 418.6 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.2861, allocations: 416.8 kB / 419 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2861, allocations: 3.938 kB / 419.1 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2861, allocations: 0 / 419.1 MB, free: 19.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2861, allocations: 0 / 419.1 MB, free: 19.72 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002314/0.2884, allocations: 0.8422 MB / 419.9 MB, free: 18.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2884, allocations: 12.03 kB / 419.9 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.2885, allocations: 24.66 kB / 419.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.2888, allocations: 269.5 kB / 420.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2888, allocations: 12.81 kB / 420.2 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.2888, allocations: 20.38 kB / 420.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.2892, allocations: 287.8 kB / 420.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2892, allocations: 4.125 kB / 420.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.2893, allocations: 15.94 kB / 420.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.2893, allocations: 8 kB / 420.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.2896, allocations: 281.6 kB / 420.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2908, allocations: 1.035 MB / 421.8 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/0.2916, allocations: 461.3 kB / 422.3 MB, free: 16.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.2919, allocations: 176.8 kB / 422.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.639e-05/0.2919, allocations: 11.98 kB / 422.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.2919, allocations: 38.5 kB / 422.5 MB, free: 16.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.302e-06/0.292, allocations: 0 / 422.5 MB, free: 16.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002569/0.2945, allocations: 0.956 MB / 423.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.2946, allocations: 55.41 kB / 423.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.2947, allocations: 220.8 kB / 423.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.2948, allocations: 33.7 kB / 423.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.2948, allocations: 140.5 kB / 423.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.2949, allocations: 98.64 kB / 424 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.295, allocations: 77.55 kB / 424.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.2951, allocations: 330.8 kB / 424.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.2953, allocations: 175.9 kB / 424.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.2955, allocations: 183.8 kB / 424.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.296, allocations: 388.8 kB / 425.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.296, allocations: 0 / 425.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001217/0.2972, allocations: 0.6586 MB / 425.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2972, allocations: 11.94 kB / 425.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2972, allocations: 4 kB / 425.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009807/0.2982, allocations: 244.6 kB / 426.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.2984, allocations: 55.91 kB / 426.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.3014, allocations: 2.704 MB / 428.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3016, allocations: 35.53 kB / 428.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.3017, allocations: 15.94 kB / 428.9 MB, free: 9.461 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.3018, allocations: 145.8 kB / 429 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.3018, allocations: 23.8 kB / 429 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.303, allocations: 0.5946 MB / 429.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.303, allocations: 4 kB / 429.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.303, allocations: 4 kB / 429.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3031, allocations: 4.094 kB / 429.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.3045, allocations: 1.061 MB / 430.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3045, allocations: 4 kB / 430.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.3046, allocations: 35.98 kB / 430.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/0.3055, allocations: 236.6 kB / 431 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.3055, allocations: 7.984 kB / 431 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.3081, allocations: 2.673 MB / 433.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3081, allocations: 0 / 433.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3092, allocations: 0.6485 MB / 434.3 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.3092, allocations: 104.8 kB / 434.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.3093, allocations: 12 kB / 434.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3095, allocations: 11.98 kB / 434.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.3096, allocations: 28.05 kB / 434.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3096, allocations: 8 kB / 434.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3097, allocations: 167 kB / 434.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3097, allocations: 0 / 434.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.3101, allocations: 108 kB / 434.7 MB, free: 3.336 MB / 302.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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.3103, allocations: 123.1 kB / 434.8 MB, free: 3.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3115, allocations: 0.6194 MB / 435.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3115, allocations: 0 / 435.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006831/0.3122, allocations: 414.3 kB / 435.9 MB, free: 2.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3125, allocations: 27.94 kB / 435.9 MB, free: 2.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.3133, allocations: 0.5237 MB / 436.4 MB, free: 1.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.3135, allocations: 0.7485 MB / 437.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.3136, allocations: 33.91 kB / 437.2 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.3137, allocations: 27.38 kB / 437.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3137, allocations: 0 / 437.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of Templates: time 0.009816/0.3235, allocations: 6.399 MB / 443.6 MB, free: 10.39 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)