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/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.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.001268/0.001268, allocations: 105.3 kB / 16.31 MB, free: 6.359 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.001223/0.001223, allocations: 184.6 kB / 17.24 MB, free: 5.879 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04656/0.04656, allocations: 8.092 MB / 299.2 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 67.91 kB / 361.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2232, allocations: 51.51 MB / 413.2 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.00231/0.2256, allocations: 1.245 MB / 414.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2272, allocations: 1.489 MB / 416 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.2273, allocations: 0 / 416 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.2278, allocations: 111.4 kB / 416.1 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.2281, allocations: 107.4 kB / 416.2 MB, free: 22.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.2296, allocations: 1.003 MB / 417.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.2298, allocations: 159.2 kB / 417.4 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.23, allocations: 53.55 kB / 417.4 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.23, allocations: 63.72 kB / 417.5 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2302, allocations: 83.67 kB / 417.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.2302, allocations: 12 kB / 417.6 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.2306, allocations: 227.8 kB / 417.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.2307, allocations: 31.8 kB / 417.8 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.2307, allocations: 79.66 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.2312, allocations: 337 kB / 418.2 MB, free: 20.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2312, allocations: 0 / 418.2 MB, free: 20.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2312, allocations: 4 kB / 418.2 MB, free: 20.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2312, allocations: 0 / 418.2 MB, free: 20.57 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.002157/0.2334, allocations: 0.7253 MB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2334, allocations: 8.031 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.2335, allocations: 16.75 kB / 419 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.2337, allocations: 228 kB / 419.2 MB, free: 19.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2337, allocations: 12.59 kB / 419.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.2338, allocations: 16.38 kB / 419.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.234, allocations: 203.6 kB / 419.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2341, allocations: 192 / 419.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.2341, allocations: 7.938 kB / 419.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2341, allocations: 8 kB / 419.4 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.2343, allocations: 156.6 kB / 419.6 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009243/0.2352, allocations: 0.73 MB / 420.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.2357, allocations: 211.2 kB / 420.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.2358, allocations: 88.84 kB / 420.6 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.2359, allocations: 4 kB / 420.6 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2359, allocations: 38.56 kB / 420.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2359, allocations: 0 / 420.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001819/0.2377, allocations: 0.5806 MB / 421.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2378, allocations: 85.05 kB / 421.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.2379, allocations: 178.5 kB / 421.5 MB, free: 17.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.238, allocations: 29.7 kB / 421.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.2381, allocations: 116.4 kB / 421.6 MB, free: 16.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.2381, allocations: 63.17 kB / 421.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.2382, allocations: 45.7 kB / 421.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.2383, allocations: 330.7 kB / 422.1 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2384, allocations: 104 kB / 422.2 MB, free: 16.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.2386, allocations: 138.3 kB / 422.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.2388, allocations: 226 kB / 422.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2388, allocations: 0 / 422.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001038/0.2399, allocations: 430 kB / 422.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2399, allocations: 4 kB / 423 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.2399, allocations: 3.984 kB / 423 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.241, allocations: 200.6 kB / 423.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.2412, allocations: 43.89 kB / 423.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.2435, allocations: 1.967 MB / 425.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.2437, allocations: 27.81 kB / 425.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.2437, allocations: 8 kB / 425.2 MB, free: 13.16 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 0.0001236/0.2439, allocations: 125.8 kB / 425.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.2439, allocations: 19.81 kB / 425.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.245, allocations: 392.1 kB / 425.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.245, allocations: 3.938 kB / 425.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.245, allocations: 7.938 kB / 425.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.245, allocations: 3.984 kB / 425.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.2452, allocations: 301.4 kB / 426 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2453, allocations: 0 / 426 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2454, allocations: 23.98 kB / 426.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/0.2463, allocations: 200.6 kB / 426.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.2463, allocations: 4 kB / 426.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.2483, allocations: 1.961 MB / 428.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2483, allocations: 0 / 428.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.2492, allocations: 450 kB / 428.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.2493, allocations: 88.92 kB / 428.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.2493, allocations: 11.92 kB / 428.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.2495, allocations: 16 kB / 428.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.2495, allocations: 15.97 kB / 428.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2496, allocations: 7.938 kB / 428.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.701e-05/0.2497, allocations: 128.2 kB / 428.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2497, allocations: 0 / 428.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.2501, allocations: 71.84 kB / 429 MB, free: 9.125 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.00016/0.2502, allocations: 119.2 kB / 429.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008632/0.2511, allocations: 426.4 kB / 429.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2511, allocations: 0 / 429.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005652/0.2517, allocations: 278.6 kB / 429.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.252, allocations: 16 kB / 429.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.2526, allocations: 385.5 kB / 430.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2528, allocations: 0.7203 MB / 430.9 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.466e-05/0.2529, allocations: 25.48 kB / 430.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.253, allocations: 15.44 kB / 430.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.253, allocations: 0 / 430.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of Templates: time 0.007234/0.2602, allocations: 4.176 MB / 435.1 MB, free: 2.914 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)