Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00418/0.00418, allocations: 93.48 kB / 15.91 MB, free: 6.273 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.00108/0.00108, allocations: 199.6 kB / 16.84 MB, free: 6.188 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.2/1.2, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.149/0.149, allocations: 8.078 MB / 298.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 60.14 kB / 361 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.09036, allocations: 51.52 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002329/0.09271, allocations: 1.442 MB / 414 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.09426, allocations: 1.512 MB / 415.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.09433, allocations: 4 kB / 415.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.09461, allocations: 95.64 kB / 415.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.09481, allocations: 83.53 kB / 415.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.09611, allocations: 0.8834 MB / 416.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.09632, allocations: 183 kB / 416.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.09644, allocations: 57.62 kB / 416.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.09652, allocations: 75.7 kB / 416.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.09665, allocations: 107.5 kB / 417 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.09668, allocations: 8 kB / 417 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.09697, allocations: 191.8 kB / 417.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.09701, allocations: 31.84 kB / 417.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.09709, allocations: 91.52 kB / 417.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.09744, allocations: 339.3 kB / 417.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09746, allocations: 4 kB / 417.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.09746, allocations: 0 / 417.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.09747, allocations: 0 / 417.6 MB, free: 5.082 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001583/0.09906, allocations: 0.6824 MB / 418.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.0991, allocations: 8.031 kB / 418.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.09915, allocations: 20.75 kB / 418.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.09937, allocations: 236 kB / 418.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.0994, allocations: 12.66 kB / 418.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.09943, allocations: 12.38 kB / 418.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.09974, allocations: 212.3 kB / 418.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.09975, allocations: 192 / 418.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.09978, allocations: 7.938 kB / 418.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.09979, allocations: 4 kB / 418.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.1001, allocations: 220.6 kB / 419 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009763/0.1011, allocations: 0.8344 MB / 419.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.1017, allocations: 383.6 kB / 420.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.1019, allocations: 148.8 kB / 420.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.1019, allocations: 4 kB / 420.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1019, allocations: 38.56 kB / 420.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.102, allocations: 0 / 420.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001889/0.1038, allocations: 0.7241 MB / 421.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1039, allocations: 55.41 kB / 421.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1041, allocations: 190.3 kB / 421.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1041, allocations: 29.7 kB / 421.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.1042, allocations: 120.3 kB / 421.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.1042, allocations: 78.89 kB / 421.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.1043, allocations: 53.69 kB / 421.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.1044, allocations: 334.8 kB / 422 MB, free: 432 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.1046, allocations: 120 kB / 422.1 MB, free: 312 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.1047, allocations: 120.5 kB / 422.2 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.1051, allocations: 276.8 kB / 422.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1051, allocations: 4 kB / 422.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009098/0.106, allocations: 482.5 kB / 423 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.106, allocations: 11.94 kB / 423 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.106, allocations: 0 / 423 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007105/0.1068, allocations: 176.7 kB / 423.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1069, allocations: 39.92 kB / 423.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.1096, allocations: 2.173 MB / 425.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1098, allocations: 19.75 kB / 425.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.1098, allocations: 15.98 kB / 425.4 MB, free: 12.86 MB / 366.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 (23): * Single equations (assignments): 22 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.1099, allocations: 138 kB / 425.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.11, allocations: 15.81 kB / 425.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009916/0.111, allocations: 475.7 kB / 426 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.111, allocations: 4 kB / 426 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.111, allocations: 0 / 426 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.111, allocations: 0 / 426 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.1122, allocations: 0.8539 MB / 426.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1123, allocations: 3.984 kB / 426.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.1123, allocations: 23.94 kB / 426.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/0.113, allocations: 176.7 kB / 427.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.113, allocations: 8 kB / 427.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.1153, allocations: 2.159 MB / 429.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1154, allocations: 0 / 429.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.1163, allocations: 0.5235 MB / 429.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1163, allocations: 92.91 kB / 429.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1163, allocations: 7.938 kB / 429.9 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1165, allocations: 18.11 kB / 429.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.1166, allocations: 23.91 kB / 429.9 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1166, allocations: 4 kB / 429.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1167, allocations: 139.2 kB / 430 MB, free: 7.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1167, allocations: 0 / 430 MB, free: 7.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.1171, allocations: 80 kB / 430.1 MB, free: 7.879 MB / 366.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 (16): * Single equations (assignments): 15 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/0.1173, allocations: 119.2 kB / 430.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.1182, allocations: 490.5 kB / 430.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1182, allocations: 0 / 430.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.1187, allocations: 334.5 kB / 431 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1191, allocations: 24 kB / 431.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.1197, allocations: 496.5 kB / 431.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.12, allocations: 0.7292 MB / 432.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.1201, allocations: 25.61 kB / 432.3 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.1201, allocations: 15.72 kB / 432.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1201, allocations: 0 / 432.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of Templates: time 0.006972/0.1271, allocations: 4.487 MB / 436.8 MB, free: 1.125 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)