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.0009435/0.0009436, allocations: 172.2 kB / 16.8 MB, free: 4.996 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.399/1.399, allocations: 223.3 MB / 240.8 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 100.8 kB / 292 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04359/0.04359, allocations: 8.094 MB / 351.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 12.5 kB / 414.4 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08679, allocations: 52.52 MB / 466.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/0.3884, allocations: 79.09 MB / 0.5332 GB, free: 6.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3887, allocations: 63.91 kB / 0.5332 GB, free: 6.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01271/0.4014, allocations: 5.335 MB / 0.5384 GB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4014, allocations: 0 / 0.5384 GB, free: 2.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4014, allocations: 0 / 0.5384 GB, free: 2.035 MB / 346.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.001051/0.4025, allocations: 0.505 MB / 0.5389 GB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4026, allocations: 12.03 kB / 0.539 GB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.4026, allocations: 8.844 kB / 0.539 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.4028, allocations: 217.5 kB / 0.5392 GB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.4029, allocations: 4.375 kB / 0.5392 GB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.4029, allocations: 7.688 kB / 0.5392 GB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.4031, allocations: 155.1 kB / 0.5393 GB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4032, allocations: 192 / 0.5393 GB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.4032, allocations: 11.75 kB / 0.5393 GB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4032, allocations: 0 / 0.5393 GB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.4034, allocations: 121 kB / 0.5395 GB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.4042, allocations: 0.5081 MB / 0.54 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.4048, allocations: 146.3 kB / 0.5401 GB, free: 476 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.4049, allocations: 40.09 kB / 0.5401 GB, free: 448 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005272/0.4054, allocations: 0.5122 MB / 0.5406 GB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4055, allocations: 34.55 kB / 0.5407 GB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.4055, allocations: 4 kB / 0.5407 GB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007575/0.4063, allocations: 244.7 kB / 0.5409 GB, free: 15.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.4063, allocations: 81.11 kB / 0.541 GB, free: 15.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.4065, allocations: 182.9 kB / 0.5412 GB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.4066, allocations: 25.7 kB / 0.5412 GB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.4066, allocations: 131 kB / 0.5413 GB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.4067, allocations: 30.91 kB / 0.5413 GB, free: 15.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.4067, allocations: 3.062 kB / 0.5413 GB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4068, allocations: 322 kB / 0.5416 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.4069, allocations: 48.73 kB / 0.5417 GB, free: 14.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.407, allocations: 88.16 kB / 0.5418 GB, free: 14.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.4072, allocations: 124.3 kB / 0.5419 GB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4072, allocations: 0 / 0.5419 GB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004542/0.4077, allocations: 220.8 kB / 0.5421 GB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4077, allocations: 4 kB / 0.5421 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4077, allocations: 4 kB / 0.5421 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.4081, allocations: 63.52 kB / 0.5422 GB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4082, allocations: 23.36 kB / 0.5422 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.4095, allocations: 1.377 MB / 0.5435 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.4096, allocations: 24.02 kB / 0.5436 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.4097, allocations: 7.5 kB / 0.5436 GB, free: 12.98 MB / 362.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.000105/0.4098, allocations: 120.8 kB / 0.5437 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.4098, allocations: 15.81 kB / 0.5437 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.4102, allocations: 155.2 kB / 0.5438 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4102, allocations: 4 kB / 0.5438 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4103, allocations: 3.984 kB / 0.5439 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4103, allocations: 0 / 0.5439 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.4108, allocations: 450 kB / 0.5443 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4109, allocations: 0 / 0.5443 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.4109, allocations: 19.95 kB / 0.5443 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.4112, allocations: 52.62 kB / 0.5444 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4112, allocations: 4 kB / 0.5444 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.4124, allocations: 1.367 MB / 0.5457 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4124, allocations: 8.078 kB / 0.5457 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.4128, allocations: 232.2 kB / 0.5459 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.4129, allocations: 89 kB / 0.546 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.4129, allocations: 11.56 kB / 0.546 GB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.413, allocations: 8 kB / 0.546 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.4131, allocations: 11.92 kB / 0.546 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.4131, allocations: 4 kB / 0.546 GB, free: 10.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.4132, allocations: 145.4 kB / 0.5462 GB, free: 10.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.784e-06/0.4132, allocations: 0 / 0.5462 GB, free: 10.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.4135, allocations: 43.61 kB / 0.5462 GB, free: 10.26 MB / 362.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.0002029/0.4137, allocations: 114.7 kB / 0.5463 GB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005431/0.4143, allocations: 227.7 kB / 0.5465 GB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4143, allocations: 0 / 0.5465 GB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.4146, allocations: 164.9 kB / 0.5467 GB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.4148, allocations: 11.12 kB / 0.5467 GB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.4154, allocations: 293.4 kB / 0.547 GB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.4157, allocations: 0.7009 MB / 0.5477 GB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.534e-05/0.4157, allocations: 16.86 kB / 0.5477 GB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.4158, allocations: 15.44 kB / 0.5477 GB, free: 8.723 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4158, allocations: 3.938 kB / 0.5477 GB, free: 8.719 MB / 362.7 MB Notification: Performance of Templates: time 0.004393/0.4202, allocations: 1.681 MB / 0.5494 GB, free: 7.055 MB / 362.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)