Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001046, 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.001111/0.001111, 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04863/0.04863, allocations: 8.104 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2733, allocations: 51.52 MB / 414.7 MB, free: 25.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002456/0.2758, allocations: 1.247 MB / 415.9 MB, free: 24.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2774, allocations: 1.501 MB / 417.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.2775, allocations: 0 / 417.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.2778, allocations: 111.5 kB / 417.5 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.2781, allocations: 99.39 kB / 417.6 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.2794, allocations: 1.006 MB / 418.6 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.2797, allocations: 167.1 kB / 418.8 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2798, allocations: 53.53 kB / 418.9 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.2799, allocations: 59.78 kB / 418.9 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.28, allocations: 87.61 kB / 419 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.28, allocations: 16 kB / 419 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.2804, allocations: 227.8 kB / 419.2 MB, free: 20.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.2804, allocations: 27.86 kB / 419.3 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.2805, allocations: 79.59 kB / 419.3 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.2808, allocations: 332.8 kB / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2808, allocations: 4 kB / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2808, allocations: 0 / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.2809, allocations: 0 / 419.7 MB, free: 20.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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001942/0.2828, allocations: 0.7253 MB / 420.4 MB, free: 19.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2828, allocations: 11.89 kB / 420.4 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.2829, allocations: 16.75 kB / 420.4 MB, free: 19.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.2831, allocations: 227.7 kB / 420.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2831, allocations: 12.61 kB / 420.7 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.2832, allocations: 12.38 kB / 420.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2834, allocations: 207.6 kB / 420.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2835, allocations: 192 / 420.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2835, allocations: 7.938 kB / 420.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2835, allocations: 4 kB / 420.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.2837, allocations: 156.6 kB / 421 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.2846, allocations: 0.7261 MB / 421.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.285, allocations: 206.4 kB / 422 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2851, allocations: 96.84 kB / 422.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.2852, allocations: 7.984 kB / 422.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2852, allocations: 38.56 kB / 422.1 MB, free: 17.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2852, allocations: 0 / 422.1 MB, free: 17.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001747/0.287, allocations: 0.5847 MB / 422.7 MB, free: 17.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.287, allocations: 85.03 kB / 422.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2871, allocations: 178.5 kB / 422.9 MB, free: 16.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2872, allocations: 33.64 kB / 423 MB, free: 16.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.2872, allocations: 116.4 kB / 423.1 MB, free: 16.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.2873, allocations: 55.19 kB / 423.1 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.2873, allocations: 53.7 kB / 423.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.2874, allocations: 326.7 kB / 423.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2875, allocations: 104 kB / 423.6 MB, free: 16.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.2877, allocations: 126.3 kB / 423.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.2879, allocations: 230 kB / 424 MB, free: 15.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2879, allocations: 0 / 424 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009312/0.2889, allocations: 429.9 kB / 424.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2889, allocations: 8 kB / 424.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2889, allocations: 0 / 424.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009774/0.2899, allocations: 196.6 kB / 424.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2901, allocations: 47.97 kB / 424.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.2922, allocations: 1.975 MB / 426.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.2924, allocations: 23.81 kB / 426.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2924, allocations: 8 kB / 426.6 MB, free: 13 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 (22): * Single equations (assignments): 21 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 9.193e-05/0.2925, allocations: 133.8 kB / 426.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.2926, allocations: 11.81 kB / 426.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009362/0.2935, allocations: 388 kB / 427.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2935, allocations: 0 / 427.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2936, allocations: 7.922 kB / 427.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2936, allocations: 0 / 427.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2938, allocations: 297.4 kB / 427.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2938, allocations: 4 kB / 427.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2939, allocations: 31.92 kB / 427.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008582/0.2948, allocations: 204.6 kB / 427.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.2948, allocations: 0 / 427.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.2966, allocations: 1.965 MB / 429.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2967, allocations: 0 / 429.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.2975, allocations: 450.1 kB / 430.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.2976, allocations: 88.92 kB / 430.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.2976, allocations: 7.922 kB / 430.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.2978, allocations: 12 kB / 430.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.2979, allocations: 19.97 kB / 430.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2979, allocations: 11.94 kB / 430.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.736e-05/0.298, allocations: 128.2 kB / 430.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.298, allocations: 0 / 430.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.2983, allocations: 71.84 kB / 430.4 MB, free: 8.965 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 (15): * Single equations (assignments): 14 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.2985, allocations: 123.1 kB / 430.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008352/0.2993, allocations: 414.5 kB / 431 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2993, allocations: 4 kB / 431 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.2999, allocations: 274.8 kB / 431.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.3002, allocations: 20 kB / 431.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.3007, allocations: 374.9 kB / 431.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.3009, allocations: 0.7242 MB / 432.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.793e-05/0.3009, allocations: 25.41 kB / 432.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.301, allocations: 19.44 kB / 432.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.301, allocations: 0 / 432.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of Templates: time 0.006311/0.3073, allocations: 4.18 MB / 436.6 MB, free: 2.754 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)