Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008451/0.008451, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001695/0.001695, allocations: 194.8 kB / 16.67 MB, free: 5.93 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.431/1.431, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001193/0.001193, allocations: 51.02 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.0955, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.016/0.1115, allocations: 10.47 MB / 383.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.1272, allocations: 6.314 MB / 390 MB, free: 452 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.1302, allocations: 39.81 kB / 390 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.1329, allocations: 484 kB / 390.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.1382, allocations: 0.9232 MB / 391.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008558/0.1468, allocations: 2.507 MB / 393.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005914/0.1527, allocations: 3.473 MB / 397.4 MB, free: 9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.1543, allocations: 0.7527 MB / 398.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.1566, allocations: 1.293 MB / 399.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.1594, allocations: 1.463 MB / 400.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009746/0.1604, allocations: 328 kB / 401.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.162, allocations: 0.5738 MB / 401.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.1632, allocations: 0.736 MB / 402.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.1655, allocations: 1.404 MB / 403.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.1717, allocations: 3.925 MB / 407.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.1718, allocations: 0 / 407.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1718, allocations: 3.938 kB / 407.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001543/0.1719, allocations: 0 / 407.9 MB, free: 14.46 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008421/0.1804, allocations: 3.075 MB / 410.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.1804, allocations: 8.031 kB / 410.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/0.1811, allocations: 273.8 kB / 411.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.1835, allocations: 1.381 MB / 412.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.1838, allocations: 245.5 kB / 412.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000533/0.1843, allocations: 232 kB / 413.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004004/0.1883, allocations: 2.169 MB / 415.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/0.1884, allocations: 7.844 kB / 415.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.1886, allocations: 80 kB / 415.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.1886, allocations: 48 kB / 415.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/0.1925, allocations: 1.916 MB / 417.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.2046, allocations: 7.786 MB / 425.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.2081, allocations: 2.068 MB / 427.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003104/0.2113, allocations: 1.59 MB / 428.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.2114, allocations: 33.92 kB / 428.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.2115, allocations: 60.56 kB / 428.8 MB, free: 9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.499e-06/0.2115, allocations: 0 / 428.8 MB, free: 9 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.0516/0.2631, allocations: 14.07 MB / 442.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/0.2633, allocations: 389.8 kB / 443.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.2655, allocations: 1.514 MB / 444.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.2657, allocations: 73.7 kB / 444.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005472/0.2663, allocations: 0.8159 MB / 445.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006474/0.2669, allocations: 0.8393 MB / 446.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006605/0.2676, allocations: 408.5 kB / 446.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.2677, allocations: 305.1 kB / 447.2 MB, free: 6.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.2698, allocations: 0.9885 MB / 448.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.2722, allocations: 1.264 MB / 449.4 MB, free: 3.984 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.2326/0.5047, allocations: 9.417 MB / 458.9 MB, free: 68.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.5048, allocations: 4.688 kB / 458.9 MB, free: 68.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006006/0.5108, allocations: 2.944 MB / 461.8 MB, free: 67.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5108, allocations: 6.438 kB / 461.8 MB, free: 67.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.5109, allocations: 11.98 kB / 461.8 MB, free: 67.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00095/0.5118, allocations: 350.1 kB / 462.2 MB, free: 66.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.5145, allocations: 0.5489 MB / 462.7 MB, free: 66.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00739/0.5219, allocations: 10.94 MB / 473.7 MB, free: 56.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.5249, allocations: 119.5 kB / 473.8 MB, free: 56.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.5252, allocations: 85.88 kB / 473.9 MB, free: 56.74 MB / 382.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001491/0.5267, allocations: 468.2 kB / 474.3 MB, free: 56.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005224/0.5272, allocations: 210.6 kB / 474.5 MB, free: 56.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/0.535, allocations: 3.463 MB / 478 MB, free: 54.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.5351, allocations: 27.62 kB / 478 MB, free: 54.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.5351, allocations: 3.938 kB / 478 MB, free: 54.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/0.5352, allocations: 19.56 kB / 478 MB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.5473, allocations: 6.267 MB / 484.3 MB, free: 51.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.5474, allocations: 4.875 kB / 484.3 MB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/0.5494, allocations: 427.1 kB / 484.7 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005368/0.5548, allocations: 1.201 MB / 485.9 MB, free: 51.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000342/0.5551, allocations: 61.2 kB / 486 MB, free: 51.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/0.5724, allocations: 18.87 MB / 0.493 GB, free: 31.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5725, allocations: 8.188 kB / 0.493 GB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009646/0.5822, allocations: 4.933 MB / 0.4979 GB, free: 26.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.5835, allocations: 0.5312 MB / 0.4984 GB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/0.5838, allocations: 56 kB / 0.4984 GB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.5857, allocations: 131.9 kB / 0.4985 GB, free: 25.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005638/0.5863, allocations: 205.7 kB / 0.4987 GB, free: 25.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.5864, allocations: 75.97 kB / 0.4988 GB, free: 25.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.5878, allocations: 1.041 MB / 0.4998 GB, free: 24.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5878, allocations: 0 / 0.4998 GB, free: 24.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002543/0.5903, allocations: 0.6962 MB / 0.5005 GB, free: 23.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005279/0.5909, allocations: 254.9 kB / 0.5008 GB, free: 23.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00543/0.5963, allocations: 3.367 MB / 0.504 GB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.5963, allocations: 3.953 kB / 0.504 GB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003404/0.5997, allocations: 2.601 MB / 0.5066 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.602, allocations: 383.4 kB / 0.507 GB, free: 16.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.6098, allocations: 5.263 MB / 0.5121 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/0.6107, allocations: 1.565 MB / 0.5136 GB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001356/0.612, allocations: 295.8 kB / 0.5139 GB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/0.6126, allocations: 163.4 kB / 0.5141 GB, free: 9.484 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6126, allocations: 2.297 kB / 0.5141 GB, free: 9.484 MB / 382.1 MB Notification: Performance of Templates: time 0.06561/0.6782, allocations: 39.7 MB / 0.5528 GB, free: 1.742 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)