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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6784/0.6784, allocations: 110.8 MB / 118 MB, free: 14.68 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001791/0.001791, allocations: 164 kB / 143.7 MB, free: 5.016 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.941e-06, allocations: 0 / 173.5 MB, free: 23.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04217/0.04219, allocations: 25.16 MB / 198.6 MB, free: 13.97 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05675/0.09898, allocations: 43.56 MB / 242.2 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.09922, allocations: 67.97 kB / 242.2 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.2425/0.3417, allocations: 71.54 MB / 313.8 MB, free: 15.72 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0002741/0.342, allocations: 79.88 kB / 313.9 MB, free: 15.64 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.007028/0.3491, allocations: 2.605 MB / 316.5 MB, free: 12.98 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3491, allocations: 8.031 kB / 316.5 MB, free: 12.98 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.3506, allocations: 324.2 kB / 316.8 MB, free: 12.66 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004715/0.3553, allocations: 1.852 MB / 318.6 MB, free: 10.75 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.3555, allocations: 84 kB / 318.7 MB, free: 10.66 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008033/0.3563, allocations: 144 kB / 318.9 MB, free: 10.52 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005842/0.3622, allocations: 2.716 MB / 321.6 MB, free: 7.797 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007784/0.37, allocations: 3.267 MB / 324.8 MB, free: 4.371 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.273e-05/0.3701, allocations: 0 / 324.8 MB, free: 4.371 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004648/0.3705, allocations: 7.938 kB / 324.9 MB, free: 4.363 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.3707, allocations: 125.1 kB / 325 MB, free: 4.238 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09785/0.4685, allocations: 8.82 MB / 333.8 MB, free: 47.24 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.4715, allocations: 1.409 MB / 335.2 MB, free: 47.21 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.4738, allocations: 1.178 MB / 336.4 MB, free: 47.2 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.4739, allocations: 15.69 kB / 336.4 MB, free: 47.2 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.474, allocations: 47.56 kB / 336.4 MB, free: 47.16 MB / 218.7 MB Notification: Performance of pre-optimization done (n=117): time 4.729e-06/0.474, allocations: 0 / 336.4 MB, free: 47.16 MB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.01052/0.4845, allocations: 3.975 MB / 340.4 MB, free: 46.45 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4846, allocations: 90.14 kB / 340.5 MB, free: 46.36 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.002775/0.4874, allocations: 1.269 MB / 341.8 MB, free: 46.2 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.4876, allocations: 28.45 kB / 341.8 MB, free: 46.17 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.4882, allocations: 0.9456 MB / 342.7 MB, free: 45.77 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.4886, allocations: 402.2 kB / 343.1 MB, free: 45.55 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.4887, allocations: 0 / 343.1 MB, free: 45.55 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4888, allocations: 364.2 kB / 343.5 MB, free: 45.25 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.4903, allocations: 0.7324 MB / 344.2 MB, free: 45.25 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.4919, allocations: 1.02 MB / 345.2 MB, free: 44.92 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.4939, allocations: 0.9335 MB / 346.2 MB, free: 44.91 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.494, allocations: 0 / 346.2 MB, free: 44.91 MB / 218.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005489/0.4995, allocations: 2.222 MB / 348.4 MB, free: 44.75 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4995, allocations: 12.2 kB / 348.4 MB, free: 44.75 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-05/0.4996, allocations: 18.44 kB / 348.4 MB, free: 44.75 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.5012, allocations: 376.6 kB / 348.8 MB, free: 44.73 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/0.5035, allocations: 283.6 kB / 349.1 MB, free: 44.73 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007572/0.5111, allocations: 3.969 MB / 353 MB, free: 43.4 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.5134, allocations: 52.7 kB / 353.1 MB, free: 43.39 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/0.5139, allocations: 53.12 kB / 353.2 MB, free: 43.39 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 (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.0008255/0.5147, allocations: 142.7 kB / 353.3 MB, free: 43.29 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/0.5155, allocations: 161.7 kB / 353.4 MB, free: 43.21 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005387/0.5209, allocations: 1.919 MB / 355.4 MB, free: 43.11 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.521, allocations: 11.12 kB / 355.4 MB, free: 43.11 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.521, allocations: 10.5 kB / 355.4 MB, free: 43.11 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.5211, allocations: 6.234 kB / 355.4 MB, free: 43.11 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.5328, allocations: 4.142 MB / 359.5 MB, free: 42.74 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.5329, allocations: 3.531 kB / 359.5 MB, free: 42.74 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.5345, allocations: 202.2 kB / 359.7 MB, free: 42.74 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.5361, allocations: 378.4 kB / 360.1 MB, free: 42.72 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.5363, allocations: 15.75 kB / 360.1 MB, free: 42.72 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0069/0.5432, allocations: 3.931 MB / 364.1 MB, free: 40.41 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5432, allocations: 0 / 364.1 MB, free: 40.41 MB / 218.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00622/0.5495, allocations: 3.012 MB / 367.1 MB, free: 39.18 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.5508, allocations: 412.1 kB / 367.5 MB, free: 38.92 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006429/0.5515, allocations: 7.969 kB / 367.5 MB, free: 38.92 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.5531, allocations: 91.38 kB / 367.6 MB, free: 38.92 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.5533, allocations: 66.09 kB / 367.6 MB, free: 38.91 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.5535, allocations: 34.36 kB / 367.7 MB, free: 38.9 MB / 218.7 MB Notification: Performance of sort global known variables: time 0.002365/0.5558, allocations: 0.9665 MB / 368.6 MB, free: 38.5 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002581/0.5584, allocations: 429.8 kB / 369 MB, free: 38.5 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 (88): * Single equations (assignments): 83 * 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%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004152/0.5589, allocations: 159.2 kB / 369.2 MB, free: 38.42 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004652/0.5635, allocations: 2.036 MB / 371.2 MB, free: 37.59 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5636, allocations: 0.875 kB / 371.2 MB, free: 37.59 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.5662, allocations: 1.164 MB / 372.4 MB, free: 37.06 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.5694, allocations: 374.6 kB / 372.8 MB, free: 36.98 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/0.5779, allocations: 3.972 MB / 376.7 MB, free: 35.52 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0023/0.5802, allocations: 2.38 MB / 379.1 MB, free: 34.47 MB / 218.7 MB Notification: Performance of SimCode: time 1.813e-06/0.5803, allocations: 0 / 379.1 MB, free: 34.47 MB / 218.7 MB Notification: Performance of Templates: time 0.03612/0.6164, allocations: 21.78 MB / 400.9 MB, free: 23.05 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)