Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008283, allocations: 89.41 kB / 16.71 MB, free: 6.637 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.0008668/0.0008669, allocations: 176 kB / 17.62 MB, free: 6.16 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.298/1.298, allocations: 223.3 MB / 241.7 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04351/0.04351, allocations: 8.104 MB / 300.9 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003922, allocations: 8 kB / 364.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.23, allocations: 52.51 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001295/0.2313, allocations: 1.249 MB / 417.9 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2329, allocations: 1.516 MB / 419.4 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.233, allocations: 4 kB / 419.4 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.2333, allocations: 107.6 kB / 419.5 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.2336, allocations: 103.4 kB / 419.6 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.2348, allocations: 0.8587 MB / 420.5 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.235, allocations: 234.8 kB / 420.7 MB, free: 20.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2352, allocations: 64.23 kB / 420.8 MB, free: 20.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.2353, allocations: 87.58 kB / 420.9 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2354, allocations: 115.5 kB / 421 MB, free: 20.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.2355, allocations: 12 kB / 421 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.2358, allocations: 191.8 kB / 421.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.2358, allocations: 43.77 kB / 421.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.2359, allocations: 121.2 kB / 421.3 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.2361, allocations: 277.3 kB / 421.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2361, allocations: 0 / 421.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2362, allocations: 0 / 421.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2362, allocations: 0 / 421.6 MB, free: 19.85 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002164/0.2383, allocations: 0.7838 MB / 422.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2384, allocations: 15.97 kB / 422.4 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.2385, allocations: 28.66 kB / 422.4 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.2387, allocations: 248.5 kB / 422.7 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2387, allocations: 20.64 kB / 422.7 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.2388, allocations: 16.38 kB / 422.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.2391, allocations: 264.2 kB / 423 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2391, allocations: 192 / 423 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.2392, allocations: 15.94 kB / 423 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.2392, allocations: 8 kB / 423 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.2395, allocations: 243.9 kB / 423.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2407, allocations: 1.129 MB / 424.4 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.2413, allocations: 306.5 kB / 424.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.2415, allocations: 160.8 kB / 424.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-05/0.2415, allocations: 7.984 kB / 424.8 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2416, allocations: 42.5 kB / 424.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.2416, allocations: 0 / 424.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003039/0.2446, allocations: 0.9651 MB / 425.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.2447, allocations: 55.41 kB / 425.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2448, allocations: 194.2 kB / 426.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.2449, allocations: 33.7 kB / 426.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.2449, allocations: 132.4 kB / 426.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.245, allocations: 82.75 kB / 426.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.245, allocations: 37.7 kB / 426.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.2451, allocations: 326.8 kB / 426.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2453, allocations: 159.9 kB / 426.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2455, allocations: 157.1 kB / 427 MB, free: 14.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.2459, allocations: 354.3 kB / 427.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2459, allocations: 0 / 427.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001382/0.2473, allocations: 0.6381 MB / 428 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2473, allocations: 4 kB / 428 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2473, allocations: 7.938 kB / 428 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.2487, allocations: 316.5 kB / 428.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.2489, allocations: 51.91 kB / 428.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.2523, allocations: 2.546 MB / 430.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.2526, allocations: 23.75 kB / 430.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2526, allocations: 8 kB / 430.9 MB, free: 10.09 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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.2527, allocations: 141.7 kB / 431.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.2528, allocations: 31.7 kB / 431.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.2543, allocations: 0.6208 MB / 431.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2543, allocations: 3.938 kB / 431.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.2543, allocations: 4 kB / 431.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2543, allocations: 3.984 kB / 431.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.2546, allocations: 385.2 kB / 432.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2546, allocations: 0 / 432.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2547, allocations: 32.27 kB / 432.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.2561, allocations: 316.4 kB / 432.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.2561, allocations: 8 kB / 432.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/0.2592, allocations: 2.507 MB / 435 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2592, allocations: 3.938 kB / 435 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.2606, allocations: 0.6678 MB / 435.6 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.2607, allocations: 104.8 kB / 435.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.2607, allocations: 4 kB / 435.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.261, allocations: 19.94 kB / 435.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.261, allocations: 23.97 kB / 435.8 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2611, allocations: 16.11 kB / 435.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.2612, allocations: 151.2 kB / 435.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2612, allocations: 0 / 435.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004472/0.2617, allocations: 99.94 kB / 436 MB, free: 4.723 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 (20): * Single equations (assignments): 19 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001746/0.2618, allocations: 123.4 kB / 436.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.2631, allocations: 0.6077 MB / 436.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2631, allocations: 0 / 436.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008936/0.264, allocations: 434.3 kB / 437.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2644, allocations: 22.34 kB / 437.2 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/0.2651, allocations: 0.6127 MB / 437.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.2652, allocations: 0.7484 MB / 438.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.2653, allocations: 27.42 kB / 438.6 MB, free: 2.066 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2653, allocations: 4 kB / 438.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of Templates: time 0.006133/0.2715, allocations: 4.483 MB / 443.1 MB, free: 13.59 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)