Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 104.2 kB / 16.98 MB, free: 6.18 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.001872/0.001872, allocations: 187.3 kB / 17.91 MB, free: 5.281 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.383/1.383, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05244/0.05244, allocations: 8.096 MB / 299.9 MB, free: 6.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 68.05 kB / 362.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2425, allocations: 51.51 MB / 413.9 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002669/0.2452, allocations: 1.391 MB / 415.3 MB, free: 24.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.2471, allocations: 1.516 MB / 416.8 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.2472, allocations: 4 kB / 416.8 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.2476, allocations: 115.4 kB / 416.9 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.2479, allocations: 91.39 kB / 417 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.2492, allocations: 0.8946 MB / 417.9 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.2495, allocations: 187.1 kB / 418.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.2497, allocations: 73.62 kB / 418.2 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.2498, allocations: 75.67 kB / 418.2 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2499, allocations: 103.6 kB / 418.3 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.25, allocations: 16 kB / 418.4 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.2503, allocations: 203.8 kB / 418.6 MB, free: 20.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.2504, allocations: 43.83 kB / 418.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.429e-05/0.2505, allocations: 95.47 kB / 418.7 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.2509, allocations: 333.1 kB / 419 MB, free: 20.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2509, allocations: 0 / 419 MB, free: 20.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2509, allocations: 4 kB / 419 MB, free: 20.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2509, allocations: 0 / 419 MB, free: 20.48 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001705/0.2526, allocations: 0.6823 MB / 419.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2527, allocations: 11.89 kB / 419.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.2527, allocations: 32.59 kB / 419.8 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.253, allocations: 220.1 kB / 420 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.253, allocations: 16.66 kB / 420 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.253, allocations: 16.31 kB / 420 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.2534, allocations: 216.3 kB / 420.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2534, allocations: 8.172 kB / 420.2 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.2534, allocations: 7.938 kB / 420.2 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2534, allocations: 4 kB / 420.2 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.2537, allocations: 200.8 kB / 420.4 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.2547, allocations: 0.85 MB / 421.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.2553, allocations: 377.8 kB / 421.6 MB, free: 17.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.2555, allocations: 136.8 kB / 421.8 MB, free: 17.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.2556, allocations: 7.984 kB / 421.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2556, allocations: 42.55 kB / 421.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.2556, allocations: 0 / 421.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001961/0.2576, allocations: 0.7241 MB / 422.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.2576, allocations: 51.41 kB / 422.6 MB, free: 16.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2578, allocations: 178.4 kB / 422.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2578, allocations: 37.64 kB / 422.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.2579, allocations: 124.3 kB / 422.9 MB, free: 16.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.2579, allocations: 74.86 kB / 423 MB, free: 16.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.258, allocations: 57.69 kB / 423.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.2581, allocations: 330.8 kB / 423.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2582, allocations: 127.9 kB / 423.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.2584, allocations: 123.9 kB / 423.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.2587, allocations: 276.8 kB / 423.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2587, allocations: 0 / 423.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008659/0.2596, allocations: 486.5 kB / 424.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2596, allocations: 15.92 kB / 424.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2596, allocations: 0 / 424.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000727/0.2604, allocations: 180.6 kB / 424.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2605, allocations: 35.97 kB / 424.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.2631, allocations: 2.351 MB / 427 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.2633, allocations: 19.78 kB / 427 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2633, allocations: 12.03 kB / 427 MB, free: 12.06 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 (23): * Single equations (assignments): 22 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.2635, allocations: 141.7 kB / 427.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.2635, allocations: 15.81 kB / 427.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009158/0.2645, allocations: 465.4 kB / 427.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2645, allocations: 8 kB / 427.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2645, allocations: 0 / 427.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2645, allocations: 3.984 kB / 427.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2657, allocations: 0.8541 MB / 428.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2657, allocations: 0 / 428.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.2658, allocations: 27.92 kB / 428.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006187/0.2664, allocations: 180.6 kB / 428.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2664, allocations: 4 kB / 428.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.2685, allocations: 2.324 MB / 431 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2685, allocations: 0 / 431 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/0.2693, allocations: 0.5192 MB / 431.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.2694, allocations: 100.8 kB / 431.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2694, allocations: 4 kB / 431.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2696, allocations: 15.94 kB / 431.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.2696, allocations: 23.91 kB / 431.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.2697, allocations: 8 kB / 431.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.2698, allocations: 140.7 kB / 431.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.2698, allocations: 0 / 431.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000367/0.2701, allocations: 87.84 kB / 431.9 MB, free: 6.906 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 (16): * Single equations (assignments): 15 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.2703, allocations: 123.2 kB / 432 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008631/0.2712, allocations: 498.3 kB / 432.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2712, allocations: 0 / 432.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.2717, allocations: 338.6 kB / 432.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2721, allocations: 35.86 kB / 432.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.2727, allocations: 454.8 kB / 433.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2728, allocations: 0.7327 MB / 434 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.2729, allocations: 23.42 kB / 434.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2729, allocations: 0 / 434.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of Templates: time 0.004393/0.2773, allocations: 3.621 MB / 437.7 MB, free: 1.023 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)