Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 110.3 kB / 17.08 MB, free: 6.062 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.001249/0.001249, allocations: 194.9 kB / 18.01 MB, free: 5.152 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.33/1.33, 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.04922/0.04922, allocations: 8.094 MB / 300 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 363.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2247, allocations: 51.53 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002401/0.2271, allocations: 1.769 MB / 416.5 MB, free: 23.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2285, allocations: 1.586 MB / 418 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.2286, allocations: 4 kB / 418 MB, free: 22.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.2289, allocations: 135.3 kB / 418.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.2292, allocations: 155 kB / 418.3 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.2307, allocations: 1.05 MB / 419.4 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.231, allocations: 278.7 kB / 419.7 MB, free: 20.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.2311, allocations: 84.64 kB / 419.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.2312, allocations: 119.5 kB / 419.9 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2313, allocations: 135.5 kB / 420 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.2314, allocations: 20 kB / 420 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.2317, allocations: 247.7 kB / 420.2 MB, free: 19.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.2317, allocations: 51.83 kB / 420.3 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.724e-05/0.2318, allocations: 139.3 kB / 420.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.2322, allocations: 456.4 kB / 420.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2322, allocations: 4 kB / 420.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2322, allocations: 0 / 420.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.2322, allocations: 0 / 420.9 MB, free: 19.24 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003514/0.2357, allocations: 1.1 MB / 422 MB, free: 18.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2358, allocations: 15.89 kB / 422 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.2359, allocations: 36.5 kB / 422 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2361, allocations: 271.6 kB / 422.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2361, allocations: 20.75 kB / 422.3 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.2361, allocations: 24.38 kB / 422.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.2366, allocations: 343.8 kB / 422.7 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2366, allocations: 4.188 kB / 422.7 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2366, allocations: 15.92 kB / 422.7 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2366, allocations: 8 kB / 422.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.237, allocations: 299.2 kB / 423 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.2385, allocations: 1.343 MB / 424.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.2392, allocations: 392.3 kB / 424.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.2394, allocations: 172.8 kB / 424.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.24, allocations: 0.6932 MB / 425.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.24, allocations: 34.8 kB / 425.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.24, allocations: 0 / 425.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.003137/0.2432, allocations: 1.137 MB / 426.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2432, allocations: 106.8 kB / 426.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2434, allocations: 224.9 kB / 427.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2434, allocations: 37.7 kB / 427.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.2435, allocations: 152.5 kB / 427.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.2435, allocations: 86.66 kB / 427.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2437, allocations: 90.11 kB / 427.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.2437, allocations: 334.8 kB / 427.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.244, allocations: 196.8 kB / 428 MB, free: 11.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.2442, allocations: 259.2 kB / 428.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.2448, allocations: 480.6 kB / 428.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2448, allocations: 3.938 kB / 428.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001804/0.2466, allocations: 0.8183 MB / 429.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2466, allocations: 10.66 kB / 429.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2466, allocations: 3.938 kB / 429.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.2485, allocations: 417.2 kB / 429.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.2487, allocations: 75.89 kB / 430 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.2526, allocations: 4.015 MB / 434 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.2529, allocations: 47.62 kB / 434.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.2529, allocations: 19.97 kB / 434.1 MB, free: 5.258 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.2531, allocations: 153.7 kB / 434.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.2531, allocations: 23.72 kB / 434.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.2549, allocations: 0.7398 MB / 435 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2549, allocations: 4 kB / 435 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2549, allocations: 0 / 435 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2549, allocations: 0 / 435 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.2552, allocations: 417.2 kB / 435.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2552, allocations: 3.938 kB / 435.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2554, allocations: 35.98 kB / 435.4 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.2571, allocations: 413.2 kB / 435.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.2571, allocations: 8 kB / 435.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.2612, allocations: 4.015 MB / 439.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2612, allocations: 0 / 439.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.2631, allocations: 0.7705 MB / 440.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.2632, allocations: 104.7 kB / 440.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.2632, allocations: 4 kB / 440.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.2635, allocations: 19.98 kB / 440.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.2636, allocations: 23.97 kB / 440.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.2636, allocations: 11.94 kB / 440.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.2638, allocations: 168.5 kB / 441 MB, free: 13.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2638, allocations: 0 / 441 MB, free: 13.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005388/0.2643, allocations: 119.8 kB / 441.1 MB, free: 13.86 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.2645, allocations: 131.1 kB / 441.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.2662, allocations: 0.7642 MB / 442 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2663, allocations: 0 / 442 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.2673, allocations: 0.5092 MB / 442.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.2676, allocations: 20.44 kB / 442.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2688, allocations: 0.5515 MB / 443.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.2691, allocations: 0.7532 MB / 443.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.2693, allocations: 42.25 kB / 443.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.2693, allocations: 31.38 kB / 443.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2693, allocations: 0 / 443.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of Templates: time 0.01071/0.28, allocations: 6.382 MB / 450.3 MB, free: 4.598 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)