Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008919/0.000892, allocations: 94.36 kB / 16.71 MB, free: 6.633 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.001089/0.001089, allocations: 170.7 kB / 17.62 MB, free: 6.156 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.33/1.33, 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.04164/0.04164, allocations: 8.104 MB / 300.9 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003513, allocations: 12.19 kB / 364.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2314, allocations: 52.51 MB / 416.7 MB, free: 25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.001297/0.2328, allocations: 1.292 MB / 417.9 MB, free: 23.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.2343, allocations: 1.516 MB / 419.5 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.2344, allocations: 4 kB / 419.5 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.2347, allocations: 107.6 kB / 419.6 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.235, allocations: 123.3 kB / 419.7 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.2366, allocations: 1.116 MB / 420.8 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.2369, allocations: 230.8 kB / 421 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.237, allocations: 68.2 kB / 421.1 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.003e-05/0.2371, allocations: 91.64 kB / 421.2 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.2373, allocations: 111.5 kB / 421.3 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.2373, allocations: 15.94 kB / 421.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.2377, allocations: 247.8 kB / 421.6 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.2378, allocations: 35.78 kB / 421.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.101e-05/0.2378, allocations: 137 kB / 421.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.2381, allocations: 305.3 kB / 422 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2382, allocations: 7.938 kB / 422 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2382, allocations: 0 / 422 MB, free: 19.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2382, allocations: 0 / 422 MB, free: 19.59 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.002736/0.2409, allocations: 0.8657 MB / 422.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.241, allocations: 15.97 kB / 422.9 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.241, allocations: 24.66 kB / 422.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2413, allocations: 259.7 kB / 423.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2413, allocations: 16.7 kB / 423.2 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.2414, allocations: 24.38 kB / 423.2 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.2418, allocations: 290 kB / 423.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2418, allocations: 4.125 kB / 423.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.2418, allocations: 11.94 kB / 423.5 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2418, allocations: 4 kB / 423.5 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.2421, allocations: 243.8 kB / 423.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.2435, allocations: 1.141 MB / 424.9 MB, free: 16.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.244, allocations: 314.4 kB / 425.2 MB, free: 16.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.2442, allocations: 156.8 kB / 425.4 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.2443, allocations: 11.97 kB / 425.4 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2443, allocations: 42.56 kB / 425.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.013e-06/0.2443, allocations: 0 / 425.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003125/0.2475, allocations: 0.9535 MB / 426.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.2475, allocations: 81.11 kB / 426.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.2477, allocations: 215.1 kB / 426.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.2478, allocations: 29.7 kB / 426.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.2479, allocations: 140.7 kB / 426.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.2479, allocations: 82.73 kB / 426.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.248, allocations: 37.7 kB / 427 MB, free: 14.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.248, allocations: 326.8 kB / 427.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.2482, allocations: 163.9 kB / 427.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.2485, allocations: 197.4 kB / 427.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.2489, allocations: 366.5 kB / 428 MB, free: 13.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2489, allocations: 0 / 428 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001722/0.2507, allocations: 0.6925 MB / 428.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2507, allocations: 4 kB / 428.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2507, allocations: 4 kB / 428.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/0.2526, allocations: 380.5 kB / 429.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2528, allocations: 55.91 kB / 429.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/0.2568, allocations: 2.529 MB / 431.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.2571, allocations: 35.73 kB / 431.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2572, allocations: 8 kB / 431.7 MB, free: 9.457 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 (31): * Single equations (assignments): 30 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.2573, allocations: 145.8 kB / 431.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.2574, allocations: 15.81 kB / 431.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.2591, allocations: 0.6521 MB / 432.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2592, allocations: 4 kB / 432.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2592, allocations: 3.984 kB / 432.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2592, allocations: 7.875 kB / 432.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.2596, allocations: 393.2 kB / 432.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2596, allocations: 0 / 432.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.2598, allocations: 35.92 kB / 432.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.2615, allocations: 376.5 kB / 433.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.2616, allocations: 4 kB / 433.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003513/0.2651, allocations: 2.507 MB / 435.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2651, allocations: 0 / 435.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.2668, allocations: 0.699 MB / 436.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.2669, allocations: 104.8 kB / 436.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.2669, allocations: 4 kB / 436.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.2672, allocations: 26.48 kB / 436.6 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.2672, allocations: 27.84 kB / 436.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.2673, allocations: 12 kB / 436.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.2674, allocations: 147.5 kB / 436.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2674, allocations: 0 / 436.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00047/0.2679, allocations: 99.94 kB / 436.9 MB, free: 3.988 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 (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.2681, allocations: 119.8 kB / 437 MB, free: 3.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.2695, allocations: 0.6313 MB / 437.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2696, allocations: 4 kB / 437.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.2707, allocations: 450.3 kB / 438.1 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.271, allocations: 23.98 kB / 438.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.2718, allocations: 0.6155 MB / 438.7 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2719, allocations: 0.7449 MB / 439.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.272, allocations: 31.42 kB / 439.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.272, allocations: 3.938 kB / 439.5 MB, free: 1.277 MB / 302.1 MB Notification: Performance of Templates: time 0.007089/0.2791, allocations: 4.831 MB / 444.4 MB, free: 12.46 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)