Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 103 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.001091/0.001091, 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.398/1.398, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05315/0.05315, allocations: 8.102 MB / 299.9 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.89 kB / 362.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 51.51 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002406/0.2339, allocations: 1.832 MB / 415.7 MB, free: 23.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2353, allocations: 1.555 MB / 417.3 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.2354, allocations: 4 kB / 417.3 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.2357, allocations: 143.2 kB / 417.4 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.236, allocations: 139.1 kB / 417.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2371, allocations: 0.7896 MB / 418.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.2374, allocations: 306.6 kB / 418.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.2375, allocations: 109.7 kB / 418.8 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.2376, allocations: 119.5 kB / 418.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.2378, allocations: 163.4 kB / 419 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.2378, allocations: 28 kB / 419.1 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.2381, allocations: 171.9 kB / 419.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.2381, allocations: 67.69 kB / 419.3 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.14e-05/0.2382, allocations: 143.3 kB / 419.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.2385, allocations: 424.7 kB / 419.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2386, allocations: 0 / 419.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2386, allocations: 0 / 419.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2386, allocations: 0 / 419.9 MB, free: 19.61 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002638/0.2412, allocations: 0.9593 MB / 420.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2413, allocations: 11.89 kB / 420.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.2414, allocations: 32.56 kB / 420.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.2416, allocations: 271.8 kB / 421.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2416, allocations: 20.81 kB / 421.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.2416, allocations: 24.38 kB / 421.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.2421, allocations: 343.8 kB / 421.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2421, allocations: 192 / 421.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.2421, allocations: 15.94 kB / 421.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2421, allocations: 8 kB / 421.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.2425, allocations: 329.6 kB / 421.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.2439, allocations: 1.025 MB / 422.9 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.2443, allocations: 394.4 kB / 423.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.2446, allocations: 236 kB / 423.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.2447, allocations: 8 kB / 423.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2447, allocations: 46.44 kB / 423.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.413e-06/0.2447, allocations: 3.938 kB / 423.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002127/0.2469, allocations: 1.054 MB / 424.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.2469, allocations: 55.41 kB / 424.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2471, allocations: 223 kB / 424.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.2471, allocations: 33.7 kB / 424.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.2472, allocations: 148.6 kB / 425.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.2472, allocations: 122.2 kB / 425.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2474, allocations: 82.11 kB / 425.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.2474, allocations: 346.8 kB / 425.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.2477, allocations: 232.8 kB / 425.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.248, allocations: 239.9 kB / 426.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.2485, allocations: 0.5015 MB / 426.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2485, allocations: 4 kB / 426.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001065/0.2496, allocations: 0.7208 MB / 427.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2496, allocations: 4 kB / 427.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2496, allocations: 4 kB / 427.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/0.2502, allocations: 158.4 kB / 427.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.2506, allocations: 79.89 kB / 427.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.2534, allocations: 4.614 MB / 432.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2537, allocations: 39.56 kB / 432.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2537, allocations: 20.08 kB / 432.2 MB, free: 6.535 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.2538, allocations: 149.7 kB / 432.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.2539, allocations: 19.72 kB / 432.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.2549, allocations: 0.5963 MB / 433 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2549, allocations: 7.984 kB / 433 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2549, allocations: 0 / 433 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.255, allocations: 0 / 433 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.2553, allocations: 464.9 kB / 433.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2553, allocations: 3.938 kB / 433.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2555, allocations: 51.91 kB / 433.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/0.256, allocations: 150.5 kB / 433.6 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.2561, allocations: 12 kB / 433.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/0.2587, allocations: 4.599 MB / 438.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2587, allocations: 0 / 438.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2598, allocations: 0.6427 MB / 438.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.2598, allocations: 100.8 kB / 439 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.2599, allocations: 7.984 kB / 439 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2601, allocations: 8 kB / 439 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.2602, allocations: 23.97 kB / 439 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2602, allocations: 8 kB / 439 MB, free: 15.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.2604, allocations: 168.1 kB / 439.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2604, allocations: 0 / 439.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.2608, allocations: 127.9 kB / 439.3 MB, free: 14.86 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/0.261, allocations: 123 kB / 439.4 MB, free: 14.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.2626, allocations: 0.8967 MB / 440.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2626, allocations: 4 kB / 440.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009562/0.2635, allocations: 0.578 MB / 440.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2638, allocations: 23.02 kB / 440.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.265, allocations: 0.6 MB / 441.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.2654, allocations: 0.7572 MB / 442.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.2655, allocations: 27.42 kB / 442.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2655, allocations: 0 / 442.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of Templates: time 0.008728/0.2743, allocations: 7.464 MB / 449.8 MB, free: 4.262 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)