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.001492/0.001492, allocations: 104.1 kB / 16.98 MB, free: 6.137 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.001672/0.001672, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.408/1.408, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04748/0.04748, allocations: 8.106 MB / 299.9 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.91 kB / 362.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2365, allocations: 51.51 MB / 413.9 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.00284/0.2394, allocations: 2.299 MB / 416.2 MB, free: 23.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.2414, allocations: 1.66 MB / 417.9 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2416, allocations: 12 kB / 417.9 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.242, allocations: 159 kB / 418 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.2424, allocations: 210.6 kB / 418.2 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.2441, allocations: 1.217 MB / 419.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.2445, allocations: 402.1 kB / 419.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.2448, allocations: 131.2 kB / 420 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2449, allocations: 167.4 kB / 420.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.2451, allocations: 211.1 kB / 420.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.2452, allocations: 28 kB / 420.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.2456, allocations: 267.7 kB / 420.6 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.2457, allocations: 83.67 kB / 420.7 MB, free: 18.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.2458, allocations: 195 kB / 420.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.2463, allocations: 0.5783 MB / 421.5 MB, free: 17.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2463, allocations: 4 kB / 421.5 MB, free: 17.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2464, allocations: 0 / 421.5 MB, free: 17.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.2464, allocations: 0 / 421.5 MB, free: 17.99 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.004716/0.2511, allocations: 1.365 MB / 422.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2511, allocations: 11.89 kB / 422.9 MB, free: 16.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.2513, allocations: 44.47 kB / 422.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.2516, allocations: 319.5 kB / 423.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2516, allocations: 32.94 kB / 423.3 MB, free: 16.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.2517, allocations: 28.38 kB / 423.3 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.2523, allocations: 473 kB / 423.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2523, allocations: 192 / 423.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.2524, allocations: 19.88 kB / 423.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2524, allocations: 8 kB / 423.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.2529, allocations: 422 kB / 424.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.255, allocations: 2.025 MB / 426.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.2557, allocations: 0.514 MB / 426.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.2561, allocations: 284.8 kB / 427 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-05/0.2561, allocations: 11.98 kB / 427 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2562, allocations: 42.56 kB / 427.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.2562, allocations: 0 / 427.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006621/0.2628, allocations: 1.912 MB / 429 MB, free: 10.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2629, allocations: 110.8 kB / 429.1 MB, free: 10 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.2631, allocations: 278.9 kB / 429.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.2632, allocations: 37.7 kB / 429.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.2633, allocations: 160.9 kB / 429.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.155e-05/0.2634, allocations: 153.8 kB / 429.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.2636, allocations: 110.2 kB / 429.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.2636, allocations: 338.8 kB / 430.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.264, allocations: 297 kB / 430.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.2644, allocations: 348.6 kB / 430.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.2652, allocations: 0.649 MB / 431.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2652, allocations: 0 / 431.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003117/0.2683, allocations: 1.26 MB / 432.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2684, allocations: 8 kB / 432.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2684, allocations: 7.922 kB / 432.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003282/0.2717, allocations: 0.7767 MB / 433.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.2721, allocations: 95.83 kB / 433.6 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007102/0.2792, allocations: 4.171 MB / 437.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.2797, allocations: 58.75 kB / 437.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.2797, allocations: 19.98 kB / 437.8 MB, free: 1.074 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.0001894/0.2799, allocations: 169.7 kB / 438 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.2801, allocations: 31.62 kB / 438 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.2835, allocations: 1.214 MB / 439.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.2835, allocations: 4 kB / 439.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2835, allocations: 0 / 439.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2835, allocations: 3.984 kB / 439.2 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.2842, allocations: 0.5637 MB / 439.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2843, allocations: 11.88 kB / 439.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.2845, allocations: 55.91 kB / 439.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003946/0.2885, allocations: 0.7604 MB / 440.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.2886, allocations: 19.98 kB / 440.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007302/0.2959, allocations: 4.116 MB / 444.8 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2959, allocations: 3.984 kB / 444.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.2993, allocations: 1.226 MB / 446 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2994, allocations: 112.5 kB / 446.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.2995, allocations: 16 kB / 446.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.2999, allocations: 27.98 kB / 446.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3, allocations: 40.38 kB / 446.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.3001, allocations: 15.94 kB / 446.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3003, allocations: 190 kB / 446.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3003, allocations: 0 / 446.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006688/0.301, allocations: 179.8 kB / 446.6 MB, free: 8.074 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.0002321/0.3012, allocations: 123.2 kB / 446.7 MB, free: 7.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.3039, allocations: 1.062 MB / 447.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3039, allocations: 0 / 447.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.3057, allocations: 0.6882 MB / 448.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.3062, allocations: 41.84 kB / 448.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3075, allocations: 0.7945 MB / 449.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3079, allocations: 0.8013 MB / 450.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3081, allocations: 43.42 kB / 450.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3081, allocations: 0 / 450.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of Templates: time 0.01105/0.3191, allocations: 7.724 MB / 457.8 MB, free: 12.73 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)