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.001241/0.001242, allocations: 109.7 kB / 17.08 MB, free: 5.777 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.0009908/0.0009908, allocations: 196 kB / 18.02 MB, free: 4.953 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04478/0.04478, allocations: 8.088 MB / 300 MB, free: 6.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 363.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2306, allocations: 51.51 MB / 414.7 MB, free: 25.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002372/0.233, allocations: 1.762 MB / 416.5 MB, free: 23.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2345, allocations: 1.586 MB / 418 MB, free: 22.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.967e-05/0.2346, allocations: 4 kB / 418 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.2349, allocations: 139.2 kB / 418.2 MB, free: 21.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.2352, allocations: 151.1 kB / 418.3 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2366, allocations: 1.061 MB / 419.4 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.2369, allocations: 282.7 kB / 419.7 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.237, allocations: 84.64 kB / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.2371, allocations: 115.6 kB / 419.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2372, allocations: 135.4 kB / 420 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.2373, allocations: 20 kB / 420 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.2376, allocations: 247.8 kB / 420.3 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.2376, allocations: 55.77 kB / 420.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.06e-05/0.2377, allocations: 131.3 kB / 420.4 MB, free: 19.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.2381, allocations: 452.4 kB / 420.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2381, allocations: 7.984 kB / 420.9 MB, free: 19.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2381, allocations: 4 kB / 420.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2381, allocations: 0 / 420.9 MB, free: 19.27 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.003534/0.2417, allocations: 1.096 MB / 422 MB, free: 18.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2417, allocations: 11.89 kB / 422 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.2418, allocations: 32.56 kB / 422 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.242, allocations: 283.6 kB / 422.3 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2421, allocations: 16.75 kB / 422.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.2421, allocations: 24.38 kB / 422.3 MB, free: 17.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.2426, allocations: 343.8 kB / 422.7 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2426, allocations: 4.188 kB / 422.7 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.2426, allocations: 7.938 kB / 422.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2426, allocations: 7.984 kB / 422.7 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.243, allocations: 295.3 kB / 423 MB, free: 17.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.2444, allocations: 1.35 MB / 424.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.2452, allocations: 395.2 kB / 424.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.2454, allocations: 172.8 kB / 424.9 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/0.246, allocations: 0.6971 MB / 425.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.246, allocations: 34.8 kB / 425.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.246, allocations: 0 / 425.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.003233/0.2493, allocations: 1.133 MB / 426.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2493, allocations: 110.8 kB / 426.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2495, allocations: 232.9 kB / 427.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2495, allocations: 37.64 kB / 427.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.2496, allocations: 152.5 kB / 427.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.2496, allocations: 86.66 kB / 427.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2498, allocations: 90.11 kB / 427.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.2498, allocations: 326.8 kB / 427.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.25, allocations: 200.8 kB / 428 MB, free: 11.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.2503, allocations: 263.2 kB / 428.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.2509, allocations: 476.7 kB / 428.7 MB, free: 11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2509, allocations: 3.938 kB / 428.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001906/0.2528, allocations: 0.8105 MB / 429.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2528, allocations: 12 kB / 429.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2528, allocations: 0 / 429.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.2547, allocations: 417.2 kB / 429.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.255, allocations: 75.89 kB / 430 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.2589, allocations: 4.015 MB / 434 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.2592, allocations: 55.67 kB / 434.1 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.2592, allocations: 12 kB / 434.1 MB, free: 5.301 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.0001407/0.2594, allocations: 150.3 kB / 434.2 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.2594, allocations: 23.72 kB / 434.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.2612, allocations: 0.7399 MB / 435 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2613, allocations: 7.938 kB / 435 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2613, allocations: 0 / 435 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2613, allocations: 0 / 435 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.2616, allocations: 413.2 kB / 435.4 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2616, allocations: 3.938 kB / 435.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.2618, allocations: 39.98 kB / 435.4 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.2635, allocations: 413.3 kB / 435.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.2636, allocations: 7.984 kB / 435.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.2675, allocations: 4.016 MB / 439.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2675, allocations: 3.984 kB / 439.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.2694, allocations: 0.7705 MB / 440.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.2694, allocations: 108.7 kB / 440.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.2695, allocations: 4 kB / 440.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.2697, allocations: 19.98 kB / 440.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.2698, allocations: 23.97 kB / 440.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.2699, allocations: 4 kB / 440.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.27, allocations: 164.5 kB / 441 MB, free: 14.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.27, allocations: 4 kB / 441 MB, free: 14.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005326/0.2706, allocations: 123.8 kB / 441.1 MB, free: 13.9 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.0002056/0.2708, allocations: 127.1 kB / 441.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.2723, allocations: 0.7681 MB / 442 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2723, allocations: 0 / 442 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.2734, allocations: 0.5131 MB / 442.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2737, allocations: 20.42 kB / 442.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2747, allocations: 0.5587 MB / 443.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.275, allocations: 0.7532 MB / 443.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.2751, allocations: 38.25 kB / 443.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.2752, allocations: 31.42 kB / 443.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2752, allocations: 0 / 443.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01057/0.2858, allocations: 6.382 MB / 450.3 MB, free: 4.633 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 gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)