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.7093/0.7093, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001673/0.001673, allocations: 159.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.249e-05/1.252e-05, allocations: 0 / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04039/0.04042, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0572/0.09767, allocations: 43.62 MB / 242.7 MB, free: 2.004 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.09793, allocations: 67.97 kB / 242.7 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2544/0.3523, allocations: 71.64 MB / 314.4 MB, free: 15.34 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3524, allocations: 4 kB / 314.4 MB, free: 15.34 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0002104/0.3526, allocations: 75.86 kB / 314.4 MB, free: 15.27 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.006971/0.3596, allocations: 2.601 MB / 317 MB, free: 12.61 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3596, allocations: 12.02 kB / 317 MB, free: 12.6 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.3608, allocations: 320.2 kB / 317.4 MB, free: 12.28 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.3641, allocations: 1.829 MB / 319.2 MB, free: 10.39 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.3642, allocations: 87.98 kB / 319.3 MB, free: 10.31 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.3646, allocations: 140 kB / 319.4 MB, free: 10.17 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005194/0.3698, allocations: 2.646 MB / 322.1 MB, free: 7.52 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/0.3759, allocations: 3.22 MB / 325.3 MB, free: 4.141 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.376, allocations: 0 / 325.3 MB, free: 4.141 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.3762, allocations: 0 / 325.3 MB, free: 4.141 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.3763, allocations: 129.1 kB / 325.4 MB, free: 4.012 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1294/0.5057, allocations: 8.758 MB / 334.2 MB, free: 30.27 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.5081, allocations: 2.435 MB / 336.6 MB, free: 29.11 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.51, allocations: 1.207 MB / 337.8 MB, free: 29.09 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.692e-05/0.5101, allocations: 24.09 kB / 337.8 MB, free: 29.09 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5101, allocations: 46.97 kB / 337.9 MB, free: 29.05 MB / 218.7 MB Notification: Performance of pre-optimization done (n=117): time 3.827e-06/0.5102, allocations: 0 / 337.9 MB, free: 29.05 MB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.006074/0.5162, allocations: 3.842 MB / 341.7 MB, free: 28.33 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.5163, allocations: 93.56 kB / 341.8 MB, free: 28.23 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.001588/0.5179, allocations: 1.245 MB / 343 MB, free: 28.08 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 7.659e-05/0.518, allocations: 29.36 kB / 343.1 MB, free: 28.05 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.5185, allocations: 1.164 MB / 344.2 MB, free: 27.64 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.5188, allocations: 397.7 kB / 344.6 MB, free: 27.43 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/0.5189, allocations: 0.8438 kB / 344.6 MB, free: 27.43 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.519, allocations: 361 kB / 345 MB, free: 27.12 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/0.5198, allocations: 0.7019 MB / 345.7 MB, free: 27.12 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008827/0.5206, allocations: 0.9912 MB / 346.7 MB, free: 26.8 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009811/0.5216, allocations: 0.8853 MB / 347.6 MB, free: 26.79 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5216, allocations: 2.969 kB / 347.6 MB, free: 26.79 MB / 218.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002778/0.5244, allocations: 2.131 MB / 349.7 MB, free: 26.63 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5245, allocations: 7.875 kB / 349.7 MB, free: 26.63 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.5245, allocations: 9.875 kB / 349.7 MB, free: 26.63 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/0.5253, allocations: 338.1 kB / 350 MB, free: 26.62 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5265, allocations: 305.4 kB / 350.3 MB, free: 26.62 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/0.5302, allocations: 3.666 MB / 354 MB, free: 25.29 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/0.5312, allocations: 67.7 kB / 354.1 MB, free: 25.29 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.5314, allocations: 61.14 kB / 354.1 MB, free: 25.28 MB / 218.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.000261/0.5316, allocations: 137.3 kB / 354.3 MB, free: 25.18 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.5319, allocations: 161.1 kB / 354.4 MB, free: 25.1 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.5345, allocations: 1.82 MB / 356.2 MB, free: 24.99 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5345, allocations: 14.84 kB / 356.3 MB, free: 24.99 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5345, allocations: 6.031 kB / 356.3 MB, free: 24.99 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5345, allocations: 5.672 kB / 356.3 MB, free: 24.99 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005541/0.54, allocations: 4.105 MB / 360.4 MB, free: 24.09 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.5401, allocations: 8.516 kB / 360.4 MB, free: 24.09 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009323/0.541, allocations: 219.9 kB / 360.6 MB, free: 24.07 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007554/0.5418, allocations: 314.1 kB / 360.9 MB, free: 24 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.5419, allocations: 14.42 kB / 360.9 MB, free: 23.99 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003463/0.5454, allocations: 3.604 MB / 364.5 MB, free: 21.66 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5454, allocations: 0 / 364.5 MB, free: 21.66 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.5489, allocations: 2.856 MB / 367.4 MB, free: 20.43 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/0.5496, allocations: 407.4 kB / 367.8 MB, free: 20.18 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.5498, allocations: 14.48 kB / 367.8 MB, free: 20.18 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008155/0.5506, allocations: 93.94 kB / 367.9 MB, free: 20.18 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.5508, allocations: 78.23 kB / 368 MB, free: 20.17 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.5509, allocations: 37.03 kB / 368 MB, free: 20.16 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001182/0.5521, allocations: 0.9463 MB / 368.9 MB, free: 19.77 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5521, allocations: 2.219 kB / 368.9 MB, free: 19.77 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001438/0.5536, allocations: 435.4 kB / 369.4 MB, free: 19.77 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (94): * Single equations (assignments): 89 * 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.0003403/0.5539, allocations: 157.5 kB / 369.5 MB, free: 19.68 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.5564, allocations: 1.996 MB / 371.5 MB, free: 18.82 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5564, allocations: 0 / 371.5 MB, free: 18.82 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.5577, allocations: 1.141 MB / 372.7 MB, free: 18.26 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.5597, allocations: 390.1 kB / 373 MB, free: 18.18 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.5658, allocations: 3.859 MB / 376.9 MB, free: 16.7 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.5673, allocations: 2.285 MB / 379.2 MB, free: 15.66 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.001165/0.5685, allocations: 427.2 kB / 379.6 MB, free: 15.64 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.5687, allocations: 96.45 kB / 379.7 MB, free: 15.55 MB / 218.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5687, allocations: 0 / 379.7 MB, free: 15.55 MB / 218.7 MB Notification: Performance of Templates: time 0.03042/0.5992, allocations: 19.6 MB / 399.3 MB, free: 2.879 MB / 218.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)