Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 108.5 kB / 16.68 MB, free: 5.871 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.001177/0.001177, allocations: 191.6 kB / 17.61 MB, free: 5.438 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.368/1.368, allocations: 222.9 MB / 241.3 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0462/0.0462, allocations: 8.101 MB / 299.5 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.89 kB / 361.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2114, allocations: 51.52 MB / 413.4 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002693/0.2142, allocations: 2.328 MB / 415.7 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.2159, allocations: 1.652 MB / 417.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.216, allocations: 8 kB / 417.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.2164, allocations: 131.4 kB / 417.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.2168, allocations: 187 kB / 417.7 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.2184, allocations: 1.144 MB / 418.8 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.2188, allocations: 402 kB / 419.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.219, allocations: 131.2 kB / 419.4 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2192, allocations: 171.3 kB / 419.5 MB, free: 19.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2194, allocations: 215.1 kB / 419.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.2194, allocations: 32 kB / 419.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.2198, allocations: 263.8 kB / 420 MB, free: 19.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.2198, allocations: 79.69 kB / 420.1 MB, free: 19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.22, allocations: 195 kB / 420.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.2203, allocations: 436.9 kB / 420.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2204, allocations: 0 / 420.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2204, allocations: 0 / 420.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2204, allocations: 0 / 420.7 MB, free: 18.39 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004865/0.2252, allocations: 1.377 MB / 422.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.2253, allocations: 15.89 kB / 422.1 MB, free: 16.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.2255, allocations: 40.47 kB / 422.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.2259, allocations: 327.5 kB / 422.5 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.2259, allocations: 24.94 kB / 422.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.226, allocations: 32.38 kB / 422.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.2267, allocations: 477 kB / 423 MB, free: 16.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2267, allocations: 192 / 423 MB, free: 16.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.2268, allocations: 11.94 kB / 423 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.2268, allocations: 11.94 kB / 423 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.2274, allocations: 418.1 kB / 423.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.2296, allocations: 2.025 MB / 425.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.2303, allocations: 0.5141 MB / 426 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2307, allocations: 284.8 kB / 426.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.868e-05/0.2308, allocations: 7.984 kB / 426.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2308, allocations: 46.5 kB / 426.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.2308, allocations: 0 / 426.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006663/0.2375, allocations: 1.916 MB / 428.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2375, allocations: 114.8 kB / 428.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.2378, allocations: 270.9 kB / 428.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.2379, allocations: 41.7 kB / 428.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.238, allocations: 160.9 kB / 428.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2381, allocations: 153.8 kB / 428.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.2383, allocations: 106.2 kB / 429 MB, free: 9.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.2384, allocations: 338.8 kB / 429.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.2387, allocations: 297 kB / 429.7 MB, free: 9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.2391, allocations: 352.7 kB / 430 MB, free: 8.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.2399, allocations: 0.649 MB / 430.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2399, allocations: 4 kB / 430.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003162/0.2431, allocations: 1.264 MB / 431.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2431, allocations: 4 kB / 431.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2431, allocations: 3.938 kB / 431.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/0.2466, allocations: 0.7764 MB / 432.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.2469, allocations: 87.89 kB / 432.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.2534, allocations: 4.167 MB / 437 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.2539, allocations: 65.69 kB / 437 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.254, allocations: 27.92 kB / 437.1 MB, free: 1.453 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.2542, allocations: 157.7 kB / 437.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.2542, allocations: 31.62 kB / 437.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.2575, allocations: 1.214 MB / 438.5 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2575, allocations: 8 kB / 438.5 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-06/0.2575, allocations: 4 kB / 438.5 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2575, allocations: 3.984 kB / 438.5 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.2582, allocations: 0.5637 MB / 439 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2582, allocations: 0 / 439 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.2585, allocations: 59.91 kB / 439.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/0.262, allocations: 0.7535 MB / 439.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.2621, allocations: 19.98 kB / 439.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007537/0.2696, allocations: 4.12 MB / 444 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.2697, allocations: 7.984 kB / 444 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.2734, allocations: 1.226 MB / 445.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.2736, allocations: 116.5 kB / 445.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/0.2737, allocations: 8 kB / 445.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.2741, allocations: 27.98 kB / 445.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.2743, allocations: 36.38 kB / 445.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.2743, allocations: 19.94 kB / 445.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002466/0.2746, allocations: 190 kB / 445.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2746, allocations: 4 kB / 445.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007956/0.2754, allocations: 179.8 kB / 445.8 MB, free: 8.465 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.2757, allocations: 119.2 kB / 445.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002787/0.2785, allocations: 1.062 MB / 447 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.2785, allocations: 0 / 447 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.2805, allocations: 0.6804 MB / 447.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.281, allocations: 32.89 kB / 447.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2826, allocations: 0.9453 MB / 448.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.2831, allocations: 0.8013 MB / 449.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.2832, allocations: 35.42 kB / 449.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2832, allocations: 8 kB / 449.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of Templates: time 0.01259/0.2958, allocations: 7.715 MB / 457.2 MB, free: 12.99 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)