Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 107.7 kB / 16.57 MB, free: 6.727 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.001815/0.001815, 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.404/1.404, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.07701/0.07701, allocations: 8.085 MB / 299.4 MB, free: 6.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.91 kB / 361.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1962, allocations: 51.52 MB / 413.2 MB, free: 25.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.002982/0.1992, allocations: 2.708 MB / 415.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2009, allocations: 1.629 MB / 417.5 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.201, allocations: 8 kB / 417.6 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.2014, allocations: 147.4 kB / 417.7 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.2017, allocations: 194.9 kB / 417.9 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.2034, allocations: 1.202 MB / 419.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.2037, allocations: 433.8 kB / 419.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.2039, allocations: 143.4 kB / 419.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2041, allocations: 179.3 kB / 419.8 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.2043, allocations: 219 kB / 420 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.2043, allocations: 28 kB / 420.1 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.2047, allocations: 259.8 kB / 420.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.2047, allocations: 83.62 kB / 420.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2049, allocations: 214.9 kB / 420.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.2053, allocations: 470.9 kB / 421.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2053, allocations: 4 kB / 421.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2053, allocations: 0 / 421.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.2053, allocations: 0 / 421.1 MB, free: 17.93 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004644/0.2099, allocations: 1.41 MB / 422.5 MB, free: 16.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.21, allocations: 8.031 kB / 422.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.2101, allocations: 48.47 kB / 422.5 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.2104, allocations: 335.5 kB / 422.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2104, allocations: 33.03 kB / 422.9 MB, free: 16.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.2105, allocations: 36.38 kB / 422.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.2112, allocations: 0.514 MB / 423.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2112, allocations: 4.125 kB / 423.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.2112, allocations: 19.94 kB / 423.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2113, allocations: 8 kB / 423.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.2118, allocations: 442.5 kB / 423.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.2139, allocations: 2.118 MB / 426 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.2147, allocations: 0.5777 MB / 426.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.215, allocations: 272.8 kB / 426.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.984e-05/0.2151, allocations: 15.98 kB / 426.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.2151, allocations: 42.5 kB / 426.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.2152, allocations: 0 / 426.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006287/0.2214, allocations: 1.826 MB / 428.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2215, allocations: 114.7 kB / 428.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.2217, allocations: 274.9 kB / 429.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.2218, allocations: 33.7 kB / 429.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.2219, allocations: 180.6 kB / 429.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.222, allocations: 153.8 kB / 429.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.2221, allocations: 106.2 kB / 429.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.2222, allocations: 342.8 kB / 429.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.2226, allocations: 285 kB / 430.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.223, allocations: 340.6 kB / 430.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.2238, allocations: 0.6294 MB / 431.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2238, allocations: 4 kB / 431.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003135/0.2269, allocations: 1.237 MB / 432.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2269, allocations: 4 kB / 432.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.227, allocations: 0 / 432.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003412/0.2304, allocations: 0.7803 MB / 433.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.2307, allocations: 83.89 kB / 433.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006008/0.2368, allocations: 3.719 MB / 437 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.2372, allocations: 63.36 kB / 437.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.2373, allocations: 19.98 kB / 437.1 MB, free: 1.305 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.0001925/0.2375, allocations: 169.8 kB / 437.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.2375, allocations: 31.62 kB / 437.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.2407, allocations: 1.195 MB / 438.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2408, allocations: 4 kB / 438.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2408, allocations: 3.938 kB / 438.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.2408, allocations: 3.984 kB / 438.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.2448, allocations: 1.798 MB / 440.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2448, allocations: 0 / 440.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.2451, allocations: 59.91 kB / 440.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003476/0.2485, allocations: 0.7451 MB / 441.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.2486, allocations: 12 kB / 441.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00653/0.2551, allocations: 3.68 MB / 444.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2552, allocations: 320 / 444.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.2585, allocations: 1.21 MB / 446 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2587, allocations: 124.5 kB / 446.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.2587, allocations: 7.938 kB / 446.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.2591, allocations: 34.17 kB / 446.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2593, allocations: 36.39 kB / 446.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.2593, allocations: 15.98 kB / 446.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.2595, allocations: 190 kB / 446.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2595, allocations: 4 kB / 446.4 MB, free: 7.738 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006333/0.2602, allocations: 187.8 kB / 446.6 MB, free: 7.555 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 (35): * Single equations (assignments): 34 * 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.0002097/0.2604, allocations: 123.2 kB / 446.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.2628, allocations: 1.016 MB / 447.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2628, allocations: 7.906 kB / 447.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.2645, allocations: 0.6531 MB / 448.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.2649, allocations: 36.88 kB / 448.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.2663, allocations: 0.9769 MB / 449.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.2667, allocations: 0.8093 MB / 450.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2668, allocations: 39.42 kB / 450.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2668, allocations: 4 kB / 450.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of Templates: time 0.009615/0.2764, allocations: 7.93 MB / 458.2 MB, free: 11.88 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)