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.7292/0.7292, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001664/0.001664, allocations: 143.5 kB / 149.1 MB, free: 0.9688 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.569e-05, allocations: 3.984 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04063/0.04067, allocations: 25.18 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.2081, allocations: 44.29 MB / 249.7 MB, free: 42.89 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.2083, allocations: 69.67 kB / 249.7 MB, free: 42.89 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1666/0.3749, allocations: 72.52 MB / 322.3 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.375, allocations: 0 / 322.3 MB, free: 4.93 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.000204/0.3752, allocations: 83.81 kB / 322.3 MB, free: 4.848 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.007696/0.3829, allocations: 2.605 MB / 324.9 MB, free: 2.188 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.383, allocations: 12.03 kB / 325 MB, free: 2.176 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.3842, allocations: 320.2 kB / 325.3 MB, free: 1.859 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/0.3881, allocations: 1.829 MB / 327.1 MB, free: 15.97 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.3883, allocations: 185.1 kB / 327.3 MB, free: 15.79 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.3888, allocations: 255.9 kB / 327.5 MB, free: 15.54 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/0.3951, allocations: 3.586 MB / 331.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-05/0.3952, allocations: 3.984 kB / 331.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/0.3955, allocations: 116 kB / 331.2 MB, free: 11.67 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.3956, allocations: 121.1 kB / 331.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004636/0.4003, allocations: 2.793 MB / 334.1 MB, free: 8.746 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1514/0.5517, allocations: 9.248 MB / 343.4 MB, free: 36.12 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.5544, allocations: 2.481 MB / 345.9 MB, free: 34.96 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.5566, allocations: 1.307 MB / 347.2 MB, free: 34.94 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.189e-05/0.5568, allocations: 22.64 kB / 347.2 MB, free: 34.94 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.5568, allocations: 51.45 kB / 347.3 MB, free: 34.9 MB / 234.7 MB Notification: Performance of pre-optimization done (n=117): time 4.509e-06/0.5568, allocations: 0 / 347.3 MB, free: 34.9 MB / 234.7 MB Notification: Performance of matching and sorting (n=121): time 0.007116/0.5639, allocations: 3.996 MB / 351.2 MB, free: 34.35 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.564, allocations: 92.77 kB / 351.3 MB, free: 34.26 MB / 234.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.001941/0.566, allocations: 1.357 MB / 352.7 MB, free: 34.1 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.872e-05/0.5661, allocations: 46.7 kB / 352.7 MB, free: 34.07 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000624/0.5667, allocations: 1.162 MB / 353.9 MB, free: 33.66 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.567, allocations: 418.1 kB / 354.3 MB, free: 33.45 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.567, allocations: 26.03 kB / 354.3 MB, free: 33.45 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.5671, allocations: 362.7 kB / 354.7 MB, free: 33.15 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008869/0.568, allocations: 0.7156 MB / 355.4 MB, free: 33.15 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/0.569, allocations: 1.024 MB / 356.4 MB, free: 32.82 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.57, allocations: 0.9086 MB / 357.3 MB, free: 32.8 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.57, allocations: 0 / 357.3 MB, free: 32.8 MB / 234.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003197/0.5732, allocations: 2.246 MB / 359.6 MB, free: 32.64 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.5733, allocations: 10.12 kB / 359.6 MB, free: 32.64 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.5733, allocations: 14.19 kB / 359.6 MB, free: 32.64 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009138/0.5742, allocations: 334.5 kB / 359.9 MB, free: 32.64 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.5755, allocations: 308.9 kB / 360.2 MB, free: 32.64 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/0.5796, allocations: 3.803 MB / 364 MB, free: 31.24 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.5808, allocations: 89.8 kB / 364.1 MB, free: 31.24 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.581, allocations: 56.17 kB / 364.2 MB, free: 31.24 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: transformer.l1sigma.inductor[3].i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [3] transformer.l1sigma.inductor[2].i:VARIABLE(unit = "A" ) "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: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 135 * 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 {(3,88.9%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002996/0.5813, allocations: 187.4 kB / 364.4 MB, free: 31.13 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.5816, allocations: 159 kB / 364.5 MB, free: 31.05 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.5844, allocations: 1.915 MB / 366.4 MB, free: 30.95 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.5845, allocations: 15.03 kB / 366.4 MB, free: 30.95 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5845, allocations: 0 / 366.4 MB, free: 30.95 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.5845, allocations: 10.34 kB / 366.5 MB, free: 30.95 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/0.5915, allocations: 4.558 MB / 371 MB, free: 30.52 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.5915, allocations: 3.688 kB / 371 MB, free: 30.52 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009291/0.5925, allocations: 225.4 kB / 371.2 MB, free: 30.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008341/0.5933, allocations: 319 kB / 371.6 MB, free: 30.51 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/0.5934, allocations: 25.88 kB / 371.6 MB, free: 30.51 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004017/0.5974, allocations: 3.725 MB / 375.3 MB, free: 28.57 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.5975, allocations: 3.953 kB / 375.3 MB, free: 28.57 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/0.602, allocations: 2.964 MB / 378.3 MB, free: 27.27 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.6032, allocations: 414.2 kB / 378.7 MB, free: 27.02 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.6033, allocations: 27.28 kB / 378.7 MB, free: 27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008616/0.6042, allocations: 113 kB / 378.8 MB, free: 26.98 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.6045, allocations: 100.8 kB / 378.9 MB, free: 26.96 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.6046, allocations: 38.36 kB / 378.9 MB, free: 26.96 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001526/0.6061, allocations: 1.045 MB / 380 MB, free: 26.54 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6061, allocations: 0 / 380 MB, free: 26.54 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001759/0.6079, allocations: 489.8 kB / 380.5 MB, free: 26.5 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 90 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003593/0.6083, allocations: 178.5 kB / 380.6 MB, free: 26.4 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002869/0.6112, allocations: 2.061 MB / 382.7 MB, free: 25.54 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6112, allocations: 3.875 kB / 382.7 MB, free: 25.54 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.6128, allocations: 1.183 MB / 383.9 MB, free: 24.95 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.615, allocations: 443.4 kB / 384.3 MB, free: 24.86 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006641/0.6217, allocations: 3.945 MB / 388.3 MB, free: 23.33 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.6233, allocations: 2.289 MB / 390.6 MB, free: 22.29 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.00144/0.6248, allocations: 431.6 kB / 391 MB, free: 22.28 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.6251, allocations: 98.28 kB / 391.1 MB, free: 22.27 MB / 234.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6251, allocations: 3.031 kB / 391.1 MB, free: 22.27 MB / 234.7 MB Notification: Performance of Templates: time 0.03645/0.6616, allocations: 22.92 MB / 414 MB, free: 12.9 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)