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.005326/0.005326, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.002022/0.002022, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001304/0.001304, allocations: 50.48 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.11, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.02064/0.1307, allocations: 10.47 MB / 383.7 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1432, allocations: 6.314 MB / 390 MB, free: 460 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.1459, allocations: 39.81 kB / 390 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.1479, allocations: 480.1 kB / 390.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.1516, allocations: 0.8998 MB / 391.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007573/0.1593, allocations: 2.491 MB / 393.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006135/0.1654, allocations: 3.477 MB / 397.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.1673, allocations: 0.7526 MB / 398.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.1699, allocations: 1.277 MB / 399.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.1722, allocations: 1.463 MB / 400.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007255/0.173, allocations: 328 kB / 401.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.1743, allocations: 0.5738 MB / 401.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006558/0.1749, allocations: 0.7321 MB / 402.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.1764, allocations: 1.407 MB / 403.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.1805, allocations: 3.929 MB / 407.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1805, allocations: 4 kB / 407.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1805, allocations: 0 / 407.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-05/0.1806, allocations: 0 / 407.8 MB, free: 14.52 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.008579/0.1892, allocations: 3.071 MB / 410.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.1893, allocations: 12.03 kB / 410.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/0.1899, allocations: 273.8 kB / 411.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.1925, allocations: 1.381 MB / 412.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.1927, allocations: 245.5 kB / 412.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006052/0.1933, allocations: 236 kB / 413 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003875/0.1972, allocations: 2.165 MB / 415.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/0.1973, allocations: 3.906 kB / 415.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.1975, allocations: 80 kB / 415.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/0.1975, allocations: 48 kB / 415.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/0.2015, allocations: 1.92 MB / 417.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.2134, allocations: 7.782 MB / 425 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/0.217, allocations: 2.076 MB / 427.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/0.2201, allocations: 1.586 MB / 428.7 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.2202, allocations: 33.92 kB / 428.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.279e-05/0.2203, allocations: 60.55 kB / 428.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 3.987e-06/0.2203, allocations: 0 / 428.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05397/0.2743, allocations: 14.07 MB / 442.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.2745, allocations: 393.8 kB / 443.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/0.2768, allocations: 1.51 MB / 444.7 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003164/0.2772, allocations: 73.69 kB / 444.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006386/0.2778, allocations: 0.8159 MB / 445.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007324/0.2786, allocations: 0.8393 MB / 446.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006938/0.2793, allocations: 408.5 kB / 446.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.2794, allocations: 305.1 kB / 447.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/0.2815, allocations: 0.9924 MB / 448.1 MB, free: 5.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.2839, allocations: 1.26 MB / 449.4 MB, free: 4.043 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.2457/0.5296, allocations: 9.417 MB / 458.8 MB, free: 68.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.5297, allocations: 5.594 kB / 458.8 MB, free: 68.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.0066/0.5363, allocations: 2.944 MB / 461.8 MB, free: 67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.5363, allocations: 7.625 kB / 461.8 MB, free: 67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/0.5364, allocations: 7.141 kB / 461.8 MB, free: 67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.5375, allocations: 354.6 kB / 462.1 MB, free: 66.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.5402, allocations: 0.5483 MB / 462.7 MB, free: 66.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00759/0.5478, allocations: 10.94 MB / 473.6 MB, free: 56.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.5507, allocations: 127.6 kB / 473.7 MB, free: 56.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/0.5509, allocations: 80.52 kB / 473.8 MB, free: 56.71 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.001191/0.5521, allocations: 471.3 kB / 474.3 MB, free: 56.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/0.5526, allocations: 213.5 kB / 474.5 MB, free: 56.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007782/0.5604, allocations: 3.454 MB / 477.9 MB, free: 54.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.5605, allocations: 31.53 kB / 478 MB, free: 54.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5605, allocations: 3.938 kB / 478 MB, free: 54.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.5605, allocations: 13.17 kB / 478 MB, free: 54.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.5729, allocations: 6.273 MB / 484.3 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.5729, allocations: 3.375 kB / 484.3 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/0.5749, allocations: 421.1 kB / 484.7 MB, free: 51.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005426/0.5804, allocations: 1.201 MB / 485.9 MB, free: 51.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/0.5807, allocations: 63.59 kB / 485.9 MB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/0.5982, allocations: 18.88 MB / 0.493 GB, free: 31.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.5982, allocations: 8.031 kB / 0.493 GB, free: 31.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.6088, allocations: 4.93 MB / 0.4978 GB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.6104, allocations: 0.5282 MB / 0.4983 GB, free: 25.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.6107, allocations: 63.92 kB / 0.4984 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.6127, allocations: 127.9 kB / 0.4985 GB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/0.6133, allocations: 209.7 kB / 0.4987 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.6134, allocations: 71.92 kB / 0.4988 GB, free: 25.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.6147, allocations: 1.041 MB / 0.4998 GB, free: 24.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6147, allocations: 0 / 0.4998 GB, free: 24.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002681/0.6174, allocations: 0.6958 MB / 0.5005 GB, free: 23.5 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.000562/0.618, allocations: 260.9 kB / 0.5007 GB, free: 23.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005627/0.6236, allocations: 3.361 MB / 0.504 GB, free: 19.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.6237, allocations: 3.953 kB / 0.504 GB, free: 19.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003353/0.627, allocations: 2.596 MB / 0.5065 GB, free: 17.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.6294, allocations: 368.9 kB / 0.5069 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/0.6376, allocations: 5.279 MB / 0.512 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008828/0.6385, allocations: 1.564 MB / 0.5136 GB, free: 9.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001521/0.64, allocations: 299.8 kB / 0.5139 GB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005846/0.6406, allocations: 163.3 kB / 0.514 GB, free: 9.391 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6406, allocations: 0 / 0.514 GB, free: 9.391 MB / 382.1 MB Notification: Performance of Templates: time 0.06253/0.7032, allocations: 39.71 MB / 0.5528 GB, free: 1.629 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)