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.001408/0.001408, allocations: 105.4 kB / 16.56 MB, free: 6.719 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.001527/0.001527, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.401/1.401, allocations: 222.9 MB / 241.2 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05131/0.05131, allocations: 8.104 MB / 299.4 MB, free: 6.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.91 kB / 361.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2206, allocations: 51.51 MB / 413.2 MB, free: 25.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002213/0.2228, allocations: 1.312 MB / 414.5 MB, free: 24.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2243, allocations: 1.481 MB / 416 MB, free: 23.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.2243, allocations: 0 / 416 MB, free: 23.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.2247, allocations: 99.66 kB / 416.1 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.2249, allocations: 87.52 kB / 416.2 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2262, allocations: 0.9914 MB / 417.2 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.2264, allocations: 155.2 kB / 417.3 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2265, allocations: 41.53 kB / 417.4 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.2266, allocations: 63.72 kB / 417.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.2267, allocations: 79.67 kB / 417.5 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.2267, allocations: 12 kB / 417.5 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.2271, allocations: 227.7 kB / 417.7 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.2271, allocations: 23.86 kB / 417.8 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.2272, allocations: 79.59 kB / 417.8 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2274, allocations: 241.4 kB / 418.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2274, allocations: 0 / 418.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2274, allocations: 0 / 418.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2274, allocations: 0 / 418.1 MB, free: 20.98 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.002009/0.2294, allocations: 0.7253 MB / 418.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2295, allocations: 11.97 kB / 418.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.2296, allocations: 20.75 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.2298, allocations: 228 kB / 419.1 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2298, allocations: 8.609 kB / 419.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.2298, allocations: 12.38 kB / 419.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.2301, allocations: 198 kB / 419.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2301, allocations: 192 / 419.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.2301, allocations: 11.94 kB / 419.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2302, allocations: 4 kB / 419.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.2304, allocations: 156.6 kB / 419.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009342/0.2313, allocations: 0.7339 MB / 420.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.2318, allocations: 198.5 kB / 420.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2319, allocations: 97.67 kB / 420.5 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.2319, allocations: 11.94 kB / 420.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.232, allocations: 34.56 kB / 420.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.232, allocations: 0 / 420.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001832/0.2338, allocations: 0.584 MB / 421.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.2338, allocations: 81.05 kB / 421.2 MB, free: 17.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.234, allocations: 180.2 kB / 421.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.234, allocations: 29.7 kB / 421.4 MB, free: 17.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.2341, allocations: 112.4 kB / 421.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.2341, allocations: 55.19 kB / 421.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.2342, allocations: 57.62 kB / 421.6 MB, free: 17.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.2343, allocations: 330.8 kB / 421.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.2344, allocations: 104 kB / 422 MB, free: 16.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2345, allocations: 126.3 kB / 422.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.2348, allocations: 230 kB / 422.4 MB, free: 16.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2348, allocations: 4 kB / 422.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009833/0.2358, allocations: 426 kB / 422.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2358, allocations: 4 kB / 422.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2358, allocations: 0 / 422.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.2369, allocations: 204.6 kB / 423 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.2371, allocations: 47.91 kB / 423 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.2393, allocations: 1.81 MB / 424.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2395, allocations: 31.72 kB / 424.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2395, allocations: 4 kB / 424.9 MB, free: 13.73 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.0001008/0.2396, allocations: 133.8 kB / 425 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.2397, allocations: 11.91 kB / 425 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009919/0.2407, allocations: 387.9 kB / 425.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2407, allocations: 0 / 425.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2407, allocations: 4.094 kB / 425.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2407, allocations: 3.984 kB / 425.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.2409, allocations: 301.3 kB / 425.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2409, allocations: 0 / 425.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2411, allocations: 27.92 kB / 425.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009627/0.242, allocations: 192.6 kB / 425.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2421, allocations: 15.98 kB / 425.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.2439, allocations: 1.796 MB / 427.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2439, allocations: 7.938 kB / 427.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009321/0.2449, allocations: 454 kB / 428.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.2449, allocations: 92.92 kB / 428.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.245, allocations: 4 kB / 428.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.2452, allocations: 15.98 kB / 428.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.2452, allocations: 7.984 kB / 428.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2452, allocations: 8 kB / 428.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.2453, allocations: 140.2 kB / 428.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2453, allocations: 4 kB / 428.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.2457, allocations: 71.81 kB / 428.5 MB, free: 9.855 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.0001612/0.2459, allocations: 115.4 kB / 428.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008422/0.2467, allocations: 414.4 kB / 429 MB, free: 9.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2468, allocations: 4 kB / 429 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.2473, allocations: 270.6 kB / 429.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.2476, allocations: 15.94 kB / 429.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.2482, allocations: 457.1 kB / 429.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2483, allocations: 0.7244 MB / 430.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.2484, allocations: 23.44 kB / 430.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2484, allocations: 0 / 430.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of Templates: time 0.004206/0.2526, allocations: 3.481 MB / 434 MB, free: 4.297 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)