Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001014, allocations: 104.6 kB / 16.03 MB, free: 6.277 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.001019/0.001019, allocations: 193.8 kB / 16.95 MB, free: 6.098 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05484/0.05484, allocations: 8.099 MB / 298.9 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 361.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2779, allocations: 51.52 MB / 412.7 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002045/0.28, allocations: 1.114 MB / 413.8 MB, free: 24.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2814, allocations: 1.438 MB / 415.3 MB, free: 23.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.2815, allocations: 4 kB / 415.3 MB, free: 23.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.2818, allocations: 91.72 kB / 415.4 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.282, allocations: 67.67 kB / 415.4 MB, free: 23.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.2832, allocations: 0.8288 MB / 416.3 MB, free: 22.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.2834, allocations: 111.5 kB / 416.4 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2835, allocations: 36.91 kB / 416.4 MB, free: 22.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.2836, allocations: 43.84 kB / 416.5 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.2836, allocations: 59.77 kB / 416.5 MB, free: 21.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.2837, allocations: 8 kB / 416.5 MB, free: 21.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.284, allocations: 211.8 kB / 416.7 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.284, allocations: 19.92 kB / 416.8 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.2841, allocations: 55.72 kB / 416.8 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.2844, allocations: 277.2 kB / 417.1 MB, free: 21.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2844, allocations: 4 kB / 417.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2844, allocations: 0 / 417.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2844, allocations: 0 / 417.1 MB, free: 21.41 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001768/0.2862, allocations: 0.6434 MB / 417.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2862, allocations: 8.031 kB / 417.7 MB, free: 20.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.2863, allocations: 16.75 kB / 417.7 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.2865, allocations: 200.2 kB / 417.9 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2865, allocations: 12.31 kB / 418 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.2865, allocations: 12.38 kB / 418 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.2868, allocations: 171.4 kB / 418.1 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2868, allocations: 192 / 418.1 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.2869, allocations: 3.938 kB / 418.1 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2869, allocations: 11.94 kB / 418.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.287, allocations: 120 kB / 418.3 MB, free: 20.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.2878, allocations: 496.3 kB / 418.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.2884, allocations: 174.6 kB / 418.9 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.2885, allocations: 48.84 kB / 419 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003813/0.2889, allocations: 454.2 kB / 419.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2889, allocations: 38.56 kB / 419.5 MB, free: 18.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.2889, allocations: 0 / 419.5 MB, free: 18.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007359/0.2897, allocations: 299.3 kB / 419.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.2897, allocations: 77.11 kB / 419.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.2899, allocations: 160 kB / 420 MB, free: 18.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.2899, allocations: 29.7 kB / 420 MB, free: 18.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.2899, allocations: 119.8 kB / 420.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.29, allocations: 35.45 kB / 420.2 MB, free: 18.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.29, allocations: 49.69 kB / 420.2 MB, free: 18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.2901, allocations: 322.8 kB / 420.5 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.2902, allocations: 59.97 kB / 420.6 MB, free: 17.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.2903, allocations: 111.9 kB / 420.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.2905, allocations: 177.3 kB / 420.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2905, allocations: 0 / 420.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004386/0.2909, allocations: 260.3 kB / 421.1 MB, free: 17.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2909, allocations: 8 kB / 421.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.291, allocations: 0 / 421.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.2914, allocations: 72.89 kB / 421.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.2915, allocations: 39.92 kB / 421.2 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.2926, allocations: 1.48 MB / 422.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2927, allocations: 23.78 kB / 422.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2927, allocations: 16.09 kB / 422.8 MB, free: 15.25 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.193e-05/0.2928, allocations: 125.8 kB / 422.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.2929, allocations: 11.89 kB / 422.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.2933, allocations: 179.1 kB / 423.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2933, allocations: 4 kB / 423.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2933, allocations: 384 / 423.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2933, allocations: 3.984 kB / 423.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2935, allocations: 245.4 kB / 423.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2935, allocations: 0 / 423.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.2936, allocations: 15.94 kB / 423.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/0.2939, allocations: 76.67 kB / 423.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2939, allocations: 4 kB / 423.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008498/0.2948, allocations: 1.469 MB / 424.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2948, allocations: 0 / 424.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.2952, allocations: 272.3 kB / 425.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.2952, allocations: 89 kB / 425.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2952, allocations: 4 kB / 425.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2953, allocations: 4 kB / 425.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.2954, allocations: 11.97 kB / 425.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.2954, allocations: 8 kB / 425.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.876e-05/0.2955, allocations: 122.9 kB / 425.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2955, allocations: 0 / 425.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.2958, allocations: 40 kB / 425.4 MB, free: 12.34 MB / 302.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 (10): * Single equations (assignments): 9 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.296, allocations: 111.2 kB / 425.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.2966, allocations: 282.4 kB / 425.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2966, allocations: 0 / 425.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.2969, allocations: 182.6 kB / 426 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.2971, allocations: 11.03 kB / 426 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.2976, allocations: 306.5 kB / 426.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2978, allocations: 0.7122 MB / 427 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.2979, allocations: 16.86 kB / 427 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.2979, allocations: 15.44 kB / 427 MB, free: 10.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2979, allocations: 3.938 kB / 427 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Templates: time 0.004288/0.3022, allocations: 1.868 MB / 428.9 MB, free: 8.773 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)