Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 109.5 kB / 16.57 MB, free: 6.723 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.001257/0.001257, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.291/1.291, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0465/0.0465, allocations: 8.107 MB / 299.4 MB, free: 6.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 361.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2579, allocations: 51.52 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003185/0.2612, allocations: 2.337 MB / 415.5 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.2634, allocations: 1.664 MB / 417.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.2635, allocations: 7.938 kB / 417.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.264, allocations: 131.5 kB / 417.3 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.2644, allocations: 190.9 kB / 417.5 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.2661, allocations: 1.183 MB / 418.7 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.2665, allocations: 398 kB / 419.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.2667, allocations: 99.81 kB / 419.2 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2669, allocations: 167.3 kB / 419.4 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.2671, allocations: 203.1 kB / 419.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.2672, allocations: 24 kB / 419.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.2676, allocations: 255.7 kB / 419.8 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.2677, allocations: 67.75 kB / 419.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.2678, allocations: 187 kB / 420.1 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.2683, allocations: 436.9 kB / 420.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2683, allocations: 0 / 420.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2683, allocations: 0 / 420.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2683, allocations: 0 / 420.5 MB, free: 18.51 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004838/0.2731, allocations: 1.369 MB / 421.9 MB, free: 17.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2732, allocations: 15.97 kB / 421.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.2733, allocations: 40.47 kB / 421.9 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.2737, allocations: 323.5 kB / 422.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2737, allocations: 24.92 kB / 422.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.2738, allocations: 32.38 kB / 422.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.2744, allocations: 480.9 kB / 422.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2744, allocations: 192 / 422.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.2745, allocations: 15.94 kB / 422.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2745, allocations: 8 kB / 422.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.275, allocations: 418.1 kB / 423.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.2771, allocations: 2.025 MB / 425.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007751/0.2779, allocations: 0.5179 MB / 425.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.2782, allocations: 284.8 kB / 426 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/0.2783, allocations: 7.984 kB / 426 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2783, allocations: 42.56 kB / 426.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.2783, allocations: 0 / 426.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006643/0.285, allocations: 1.916 MB / 428 MB, free: 10.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.2851, allocations: 110.8 kB / 428.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.2853, allocations: 274.8 kB / 428.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.2854, allocations: 37.7 kB / 428.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.2855, allocations: 160.9 kB / 428.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2856, allocations: 153.8 kB / 428.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.2858, allocations: 102.2 kB / 428.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.2858, allocations: 346.8 kB / 429.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.2862, allocations: 297 kB / 429.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.2866, allocations: 344.7 kB / 429.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.2875, allocations: 0.6451 MB / 430.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2875, allocations: 0 / 430.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00329/0.2908, allocations: 1.272 MB / 431.7 MB, free: 6.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.2908, allocations: 4 kB / 431.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2908, allocations: 3.938 kB / 431.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/0.2943, allocations: 0.7798 MB / 432.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.2947, allocations: 87.89 kB / 432.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006071/0.3008, allocations: 3.828 MB / 436.4 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.3012, allocations: 47.52 kB / 436.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.3013, allocations: 16 kB / 436.4 MB, free: 1.965 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.3015, allocations: 169.7 kB / 436.6 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.3016, allocations: 35.53 kB / 436.7 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/0.3047, allocations: 1.218 MB / 437.9 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3047, allocations: 7.984 kB / 437.9 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3047, allocations: 0 / 437.9 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3047, allocations: 4 kB / 437.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.3052, allocations: 0.5637 MB / 438.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3052, allocations: 0 / 438.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.3055, allocations: 59.91 kB / 438.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/0.3089, allocations: 0.749 MB / 439.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.309, allocations: 12 kB / 439.3 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00662/0.3156, allocations: 3.772 MB / 443 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3156, allocations: 0 / 443 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.319, allocations: 1.23 MB / 444.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.3192, allocations: 124.4 kB / 444.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.3193, allocations: 8 kB / 444.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.3197, allocations: 23.98 kB / 444.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.3199, allocations: 48.38 kB / 444.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.3199, allocations: 12 kB / 444.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.3202, allocations: 186 kB / 444.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3202, allocations: 4 kB / 444.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008037/0.321, allocations: 179.9 kB / 444.8 MB, free: 9.328 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.3213, allocations: 123.2 kB / 445 MB, free: 9.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.3239, allocations: 1.047 MB / 446 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3239, allocations: 0 / 446 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.3257, allocations: 0.661 MB / 446.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3261, allocations: 44.36 kB / 446.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3275, allocations: 0.9281 MB / 447.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3278, allocations: 0.8055 MB / 448.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.328, allocations: 39.42 kB / 448.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.328, allocations: 0 / 448.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of Templates: time 0.0105/0.3385, allocations: 7.718 MB / 456.2 MB, free: 13.9 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)