Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 239.7 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009786/0.0009787, allocations: 99.67 kB / 290.9 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04326/0.04326, allocations: 8.098 MB / 350.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002906, allocations: 8.219 kB / 413.1 MB, free: 89.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09218, allocations: 52.53 MB / 465.6 MB, free: 42.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/0.4059, allocations: 79.06 MB / 0.5319 GB, free: 16.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4062, allocations: 61.92 kB / 0.532 GB, free: 16.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01697/0.4232, allocations: 5.352 MB / 0.5372 GB, free: 32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4232, allocations: 0 / 0.5372 GB, free: 32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.4233, allocations: 3.844 kB / 0.5372 GB, free: 32 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001455/0.4247, allocations: 0.5081 MB / 0.5377 GB, free: 31.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.4248, allocations: 8.531 kB / 0.5377 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.4249, allocations: 11.72 kB / 0.5377 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.4252, allocations: 206.2 kB / 0.5379 GB, free: 31.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4253, allocations: 7.156 kB / 0.5379 GB, free: 31.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.4253, allocations: 7.719 kB / 0.5379 GB, free: 31.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.4258, allocations: 160.2 kB / 0.5381 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4258, allocations: 3.938 kB / 0.5381 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.4258, allocations: 12.31 kB / 0.5381 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4258, allocations: 0 / 0.5381 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.4262, allocations: 114 kB / 0.5382 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.4275, allocations: 0.5111 MB / 0.5387 GB, free: 31.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.4283, allocations: 152 kB / 0.5388 GB, free: 31.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005661/0.4288, allocations: 0.5066 MB / 0.5393 GB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.4289, allocations: 32.39 kB / 0.5394 GB, free: 30.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.4289, allocations: 0 / 0.5394 GB, free: 30.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008824/0.4298, allocations: 254.2 kB / 0.5396 GB, free: 30.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.4298, allocations: 81.06 kB / 0.5397 GB, free: 30.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.43, allocations: 169.4 kB / 0.5398 GB, free: 30.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.4301, allocations: 29.64 kB / 0.5399 GB, free: 30.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.4301, allocations: 123.4 kB / 0.54 GB, free: 30.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.4302, allocations: 27.45 kB / 0.54 GB, free: 30.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.4302, allocations: 0 / 0.54 GB, free: 30.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.4303, allocations: 328.5 kB / 0.5403 GB, free: 29.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.4304, allocations: 46.78 kB / 0.5404 GB, free: 29.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.4305, allocations: 92.66 kB / 0.5405 GB, free: 29.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4306, allocations: 53.45 kB / 0.5405 GB, free: 29.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4306, allocations: 0 / 0.5405 GB, free: 29.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005823/0.4312, allocations: 222.9 kB / 0.5407 GB, free: 29.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4313, allocations: 10.12 kB / 0.5407 GB, free: 29.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4313, allocations: 4 kB / 0.5407 GB, free: 29.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/0.4318, allocations: 72.02 kB / 0.5408 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.4319, allocations: 25.38 kB / 0.5408 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.4336, allocations: 1.382 MB / 0.5422 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.4338, allocations: 21.25 kB / 0.5422 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.4338, allocations: 3.906 kB / 0.5422 GB, free: 28.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.434, allocations: 125.9 kB / 0.5423 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.4341, allocations: 13.67 kB / 0.5423 GB, free: 28.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.4346, allocations: 155.2 kB / 0.5425 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4347, allocations: 3.875 kB / 0.5425 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4347, allocations: 0 / 0.5425 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4347, allocations: 1.781 kB / 0.5425 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007501/0.4354, allocations: 452.8 kB / 0.5429 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4355, allocations: 0 / 0.5429 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.4355, allocations: 13.77 kB / 0.5429 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.4359, allocations: 62.34 kB / 0.543 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4359, allocations: 0 / 0.543 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.4374, allocations: 1.378 MB / 0.5443 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4374, allocations: 3.938 kB / 0.5443 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.4379, allocations: 249.8 kB / 0.5446 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.438, allocations: 90.86 kB / 0.5447 GB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.4381, allocations: 7.828 kB / 0.5447 GB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.4382, allocations: 5.344 kB / 0.5447 GB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4383, allocations: 10.66 kB / 0.5447 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.4383, allocations: 9.375 kB / 0.5447 GB, free: 26.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.4385, allocations: 141.8 kB / 0.5448 GB, free: 26.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4385, allocations: 0 / 0.5448 GB, free: 26.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004951/0.439, allocations: 47.08 kB / 0.5449 GB, free: 26.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.4392, allocations: 115.8 kB / 0.545 GB, free: 26.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.4399, allocations: 229.5 kB / 0.5452 GB, free: 25.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4399, allocations: 0 / 0.5452 GB, free: 25.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.4402, allocations: 161.7 kB / 0.5454 GB, free: 25.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.4405, allocations: 4.938 kB / 0.5454 GB, free: 25.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.4411, allocations: 290.9 kB / 0.5457 GB, free: 25.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.4414, allocations: 0.7121 MB / 0.5463 GB, free: 24.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.812e-05/0.4415, allocations: 12.94 kB / 0.5464 GB, free: 24.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.4416, allocations: 15.09 kB / 0.5464 GB, free: 24.89 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4416, allocations: 0 / 0.5464 GB, free: 24.89 MB / 378.7 MB Notification: Performance of Templates: time 0.005467/0.4471, allocations: 1.662 MB / 0.548 GB, free: 24.76 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)