Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00911/0.009111, allocations: 100.5 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 192.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.1 MB / 222.6 MB, free: 4.367 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 58.73 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1393, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01172/0.1511, allocations: 7.705 MB / 380.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008571/0.1598, allocations: 2.742 MB / 383.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/0.1626, allocations: 55.69 kB / 383.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.165, allocations: 0.5742 MB / 384.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.1691, allocations: 0.7497 MB / 385 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.1711, allocations: 443.4 kB / 385.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007057/0.1782, allocations: 3.405 MB / 388.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00503/0.1832, allocations: 3.434 MB / 392.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004961/0.1883, allocations: 1.668 MB / 394 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005263/0.1935, allocations: 2.016 MB / 396 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002187/0.1958, allocations: 460 kB / 396.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.199, allocations: 0.6753 MB / 397.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002526/0.2015, allocations: 1.235 MB / 398.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004239/0.2058, allocations: 1.968 MB / 400.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009021/0.2148, allocations: 6.091 MB / 406.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2149, allocations: 0 / 406.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2149, allocations: 4 kB / 406.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000277/0.2152, allocations: 4 kB / 406.4 MB, free: 15.89 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01394/0.2291, allocations: 3.783 MB / 410.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.2292, allocations: 8.031 kB / 410.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.231, allocations: 384.7 kB / 410.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/0.2352, allocations: 1.968 MB / 412.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.2355, allocations: 221.8 kB / 412.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005516/0.2361, allocations: 280 kB / 413 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009031/0.2451, allocations: 4.195 MB / 417.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.2452, allocations: 0 / 417.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003031/0.2455, allocations: 120 kB / 417.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/0.2457, allocations: 137.9 kB / 417.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007257/0.253, allocations: 3.49 MB / 421 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/0.2841, allocations: 10.77 MB / 431.7 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.289, allocations: 2.65 MB / 434.4 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003339/0.2924, allocations: 1.493 MB / 435.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/0.2929, allocations: 122.1 kB / 436 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/0.293, allocations: 55.56 kB / 436 MB, free: 1.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.479e-06/0.2931, allocations: 0 / 436 MB, free: 1.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01339/0.3064, allocations: 5.278 MB / 441.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.3066, allocations: 90.42 kB / 441.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005076/0.3117, allocations: 1.909 MB / 443.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.3119, allocations: 49.69 kB / 443.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.3134, allocations: 1.326 MB / 444.7 MB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005861/0.314, allocations: 453.4 kB / 445.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/0.3146, allocations: 271.3 kB / 445.4 MB, free: 8.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3148, allocations: 305.1 kB / 445.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.3165, allocations: 0.8237 MB / 446.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.3184, allocations: 1.183 MB / 447.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/0.3222, allocations: 2.087 MB / 449.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.3222, allocations: 4 kB / 449.8 MB, free: 3.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006276/0.3285, allocations: 2.527 MB / 452.3 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.3286, allocations: 19.84 kB / 452.3 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-05/0.3287, allocations: 8 kB / 452.4 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.3306, allocations: 430.5 kB / 452.8 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.3321, allocations: 335.5 kB / 453.1 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3247/0.6568, allocations: 4.399 MB / 457.5 MB, free: 66.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.6594, allocations: 83.48 kB / 457.6 MB, free: 66.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.6597, allocations: 63.34 kB / 457.6 MB, free: 66.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003205/0.6629, allocations: 1.054 MB / 458.7 MB, free: 65.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/0.6638, allocations: 192.8 kB / 458.9 MB, free: 65.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/0.6692, allocations: 2.144 MB / 461 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-05/0.6693, allocations: 17.75 kB / 461 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.6693, allocations: 7.719 kB / 461.1 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.6693, allocations: 6.703 kB / 461.1 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.6818, allocations: 5.178 MB / 466.2 MB, free: 62.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.6819, allocations: 5 kB / 466.2 MB, free: 62.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.683, allocations: 225.5 kB / 466.5 MB, free: 62.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.6845, allocations: 396.6 kB / 466.9 MB, free: 62.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.6846, allocations: 38.5 kB / 466.9 MB, free: 62.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/0.6911, allocations: 4.286 MB / 471.2 MB, free: 59.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6911, allocations: 6.109 kB / 471.2 MB, free: 59.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.6966, allocations: 3.255 MB / 474.4 MB, free: 58.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.6979, allocations: 459.8 kB / 474.9 MB, free: 58.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.6981, allocations: 27.81 kB / 474.9 MB, free: 58.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.6993, allocations: 97.14 kB / 475 MB, free: 58.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.6996, allocations: 100 kB / 475.1 MB, free: 58.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.6997, allocations: 39.69 kB / 475.1 MB, free: 58.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002232/0.7019, allocations: 1.34 MB / 476.5 MB, free: 57.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.702, allocations: 0 / 476.5 MB, free: 57.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00222/0.7042, allocations: 0.5552 MB / 477 MB, free: 57.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006743/0.7049, allocations: 219.1 kB / 477.3 MB, free: 57.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003509/0.7084, allocations: 2.198 MB / 479.5 MB, free: 56.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7084, allocations: 0 / 479.5 MB, free: 56.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.7102, allocations: 1.222 MB / 480.7 MB, free: 55.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.7124, allocations: 0.5113 MB / 481.2 MB, free: 54.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/0.7209, allocations: 5.699 MB / 486.9 MB, free: 48.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.7225, allocations: 2.428 MB / 489.3 MB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00127/0.7238, allocations: 496.3 kB / 489.8 MB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.7242, allocations: 139.4 kB / 489.9 MB, free: 45.91 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7242, allocations: 0 / 489.9 MB, free: 45.91 MB / 382.1 MB Notification: Performance of Templates: time 0.05195/0.7761, allocations: 30.73 MB / 0.5085 GB, free: 15.15 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)