Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6252/0.6252, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001659/0.001659, allocations: 143.3 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002214/0.0002213, allocations: 8 kB / 184.9 MB, free: 3.938 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1062, allocations: 25.16 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04622/0.1524, allocations: 44.39 MB / 254.4 MB, free: 5.426 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.1527, allocations: 67.97 kB / 254.5 MB, free: 5.359 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2516/0.4043, allocations: 72.24 MB / 326.7 MB, free: 40.15 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4044, allocations: 0 / 326.7 MB, free: 40.15 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0002478/0.4047, allocations: 76.94 kB / 326.8 MB, free: 40.13 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 672 * Number of variables: 672 Notification: Performance of Generate backend data structure: time 0.006974/0.4116, allocations: 2.862 MB / 329.7 MB, free: 38.28 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4117, allocations: 7.875 kB / 329.7 MB, free: 38.28 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.4127, allocations: 324.7 kB / 330 MB, free: 38.12 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/0.4161, allocations: 1.837 MB / 331.8 MB, free: 36.75 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.4162, allocations: 190.4 kB / 332 MB, free: 36.56 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007591/0.417, allocations: 246.6 kB / 332.3 MB, free: 36.32 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006236/0.4233, allocations: 3.649 MB / 335.9 MB, free: 32.52 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/0.4233, allocations: 0 / 335.9 MB, free: 32.52 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003261/0.4237, allocations: 112 kB / 336 MB, free: 32.41 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.322e-05/0.4238, allocations: 129.1 kB / 336.2 MB, free: 32.28 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/0.428, allocations: 2.882 MB / 339 MB, free: 29.38 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.4436, allocations: 9.259 MB / 348.3 MB, free: 20.07 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.4469, allocations: 2.52 MB / 350.8 MB, free: 17.33 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.4471, allocations: 16.78 kB / 350.8 MB, free: 17.32 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4471, allocations: 55.44 kB / 350.9 MB, free: 17.26 MB / 218.7 MB Notification: Performance of pre-optimization done (n=117): time 4.789e-06/0.4471, allocations: 4 kB / 350.9 MB, free: 17.25 MB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.01257/0.4597, allocations: 5.207 MB / 356.1 MB, free: 11.9 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.4598, allocations: 90.11 kB / 356.2 MB, free: 11.8 MB / 218.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7955:5-7956:40:writable] Warning: Parameter transformerData.P_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=300.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7953:5-7954:36:writable] Warning: Parameter transformerData.v_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7951:5-7952:33:writable] Warning: Parameter transformerData.SNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=30000.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7945:5-7946:86:writable] Warning: Parameter transformerData.V2 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7940:5-7941:53:writable] Warning: Parameter transformerData.V1 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7939:5-7939:73:writable] Warning: Parameter transformerData.f has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.463, allocations: 1.374 MB / 357.6 MB, free: 10.41 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.4631, allocations: 45.7 kB / 357.6 MB, free: 10.36 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008098/0.4639, allocations: 1.169 MB / 358.8 MB, free: 9.188 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.4643, allocations: 419.7 kB / 359.2 MB, free: 8.781 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4644, allocations: 28 kB / 359.2 MB, free: 8.754 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.4645, allocations: 357.9 kB / 359.6 MB, free: 8.398 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.4662, allocations: 0.7488 MB / 360.3 MB, free: 7.648 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.468, allocations: 1.056 MB / 361.4 MB, free: 6.477 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.4698, allocations: 0.9299 MB / 362.3 MB, free: 5.547 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.4699, allocations: 4 kB / 362.3 MB, free: 5.543 MB / 218.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005274/0.4752, allocations: 2.335 MB / 364.6 MB, free: 3.195 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.4752, allocations: 8 kB / 364.6 MB, free: 3.188 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/0.4753, allocations: 16.16 kB / 364.7 MB, free: 3.172 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.4767, allocations: 384.5 kB / 365 MB, free: 2.793 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.4787, allocations: 295.5 kB / 365.3 MB, free: 2.504 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008067/0.4868, allocations: 4.345 MB / 369.7 MB, free: 14.04 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.4889, allocations: 91.81 kB / 369.8 MB, free: 13.95 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/0.4892, allocations: 51.94 kB / 369.8 MB, free: 13.89 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: transformer.l1sigma.inductor[3].i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real [3] transformer.l1sigma.inductor[2].i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (134): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00281/0.4921, allocations: 0.9583 MB / 370.8 MB, free: 12.93 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006788/0.4928, allocations: 166 kB / 370.9 MB, free: 12.76 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005624/0.4984, allocations: 2.013 MB / 372.9 MB, free: 10.73 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.4984, allocations: 16 kB / 373 MB, free: 10.71 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.4985, allocations: 4 kB / 373 MB, free: 10.71 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.4985, allocations: 3.984 kB / 373 MB, free: 10.71 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.5115, allocations: 4.585 MB / 377.5 MB, free: 6.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/0.5115, allocations: 0 / 377.5 MB, free: 6.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.5131, allocations: 203.7 kB / 377.7 MB, free: 5.871 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.5146, allocations: 364.4 kB / 378.1 MB, free: 5.512 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.5148, allocations: 27.98 kB / 378.1 MB, free: 5.484 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/0.5234, allocations: 4.327 MB / 382.5 MB, free: 1.023 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5235, allocations: 0 / 382.5 MB, free: 1.023 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1426/0.6661, allocations: 2.998 MB / 385.5 MB, free: 50.97 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/0.6676, allocations: 410.2 kB / 385.9 MB, free: 50.88 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/0.6679, allocations: 28 kB / 385.9 MB, free: 50.88 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.6692, allocations: 113.1 kB / 386 MB, free: 50.88 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.6695, allocations: 86.2 kB / 386.1 MB, free: 50.88 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.6697, allocations: 37.19 kB / 386.1 MB, free: 50.88 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002292/0.672, allocations: 1.059 MB / 387.2 MB, free: 50.77 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.672, allocations: 0 / 387.2 MB, free: 50.77 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002477/0.6745, allocations: 497.6 kB / 387.7 MB, free: 50.77 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i) * 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 (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003977/0.6749, allocations: 169.5 kB / 387.8 MB, free: 50.68 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00473/0.6796, allocations: 2.171 MB / 390 MB, free: 50.41 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6797, allocations: 4 kB / 390 MB, free: 50.41 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002891/0.6826, allocations: 1.252 MB / 391.2 MB, free: 50.14 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/0.6861, allocations: 445.7 kB / 391.7 MB, free: 50.14 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.698, allocations: 5.792 MB / 397.5 MB, free: 47.8 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/0.7005, allocations: 2.292 MB / 399.8 MB, free: 47.05 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.002388/0.703, allocations: 423.5 kB / 400.2 MB, free: 47.04 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/0.7034, allocations: 94.91 kB / 400.3 MB, free: 47.03 MB / 234.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7035, allocations: 0 / 400.3 MB, free: 47.03 MB / 234.7 MB Notification: Performance of Templates: time 0.05646/0.7599, allocations: 22.84 MB / 423.1 MB, free: 42.71 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.TransformerTestbench.pipe 2>&1)