Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006727/0.006727, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.00137/0.00137, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.001165/0.001165, allocations: 45.98 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09703, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01207/0.1092, allocations: 10.47 MB / 383.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1238, allocations: 6.314 MB / 390 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.1264, allocations: 39.81 kB / 390 MB, free: 440 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.129, allocations: 484 kB / 390.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.1333, allocations: 0.8998 MB / 391.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007569/0.1409, allocations: 2.499 MB / 393.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00602/0.1469, allocations: 3.469 MB / 397.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.1487, allocations: 0.7526 MB / 398.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.1514, allocations: 1.273 MB / 399.4 MB, free: 7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.1541, allocations: 1.471 MB / 400.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.1552, allocations: 328 kB / 401.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.1571, allocations: 0.5738 MB / 401.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.1583, allocations: 0.736 MB / 402.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002601/0.1609, allocations: 1.396 MB / 403.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.1656, allocations: 3.929 MB / 407.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1657, allocations: 3.938 kB / 407.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1657, allocations: 0 / 407.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-05/0.1658, allocations: 0 / 407.8 MB, free: 14.54 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.00792/0.1737, allocations: 3.079 MB / 410.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1737, allocations: 12.03 kB / 410.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.1742, allocations: 273.8 kB / 411.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.1765, allocations: 1.373 MB / 412.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.1767, allocations: 245.5 kB / 412.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005704/0.1773, allocations: 236 kB / 413 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004139/0.1815, allocations: 2.162 MB / 415.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.346e-05/0.1815, allocations: 11.84 kB / 415.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.1817, allocations: 80 kB / 415.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.1818, allocations: 48 kB / 415.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/0.1857, allocations: 1.92 MB / 417.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.1976, allocations: 7.782 MB / 425 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.2011, allocations: 2.072 MB / 427.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003007/0.2042, allocations: 1.594 MB / 428.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.2043, allocations: 29.92 kB / 428.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.2044, allocations: 64.55 kB / 428.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.238e-06/0.2044, allocations: 0 / 428.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05347/0.2578, allocations: 14.06 MB / 442.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000221/0.2581, allocations: 401.8 kB / 443.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.2607, allocations: 1.514 MB / 444.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003611/0.261, allocations: 69.7 kB / 444.8 MB, free: 8.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006355/0.2617, allocations: 0.8158 MB / 445.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000767/0.2624, allocations: 0.8354 MB / 446.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006844/0.2631, allocations: 416.5 kB / 446.9 MB, free: 6.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2633, allocations: 301.1 kB / 447.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.2654, allocations: 1 MB / 448.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.2678, allocations: 1.26 MB / 449.4 MB, free: 4.051 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.2419/0.5097, allocations: 9.414 MB / 458.8 MB, free: 68.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.5097, allocations: 5.312 kB / 458.8 MB, free: 68.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006828/0.5166, allocations: 2.943 MB / 461.8 MB, free: 67.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.5166, allocations: 5.969 kB / 461.8 MB, free: 67.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/0.5167, allocations: 7.5 kB / 461.8 MB, free: 67.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.5177, allocations: 350.7 kB / 462.1 MB, free: 66.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/0.5205, allocations: 0.5483 MB / 462.7 MB, free: 66.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/0.5278, allocations: 10.94 MB / 473.6 MB, free: 56.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.5305, allocations: 127.5 kB / 473.7 MB, free: 56.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.5308, allocations: 79.55 kB / 473.8 MB, free: 56.79 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.001178/0.5319, allocations: 478.7 kB / 474.3 MB, free: 56.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005363/0.5325, allocations: 208 kB / 474.5 MB, free: 56.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007748/0.5402, allocations: 3.461 MB / 477.9 MB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.5403, allocations: 27.59 kB / 478 MB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.5403, allocations: 7.969 kB / 478 MB, free: 54.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/0.5404, allocations: 16.58 kB / 478 MB, free: 54.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.5531, allocations: 6.261 MB / 484.3 MB, free: 51.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.5531, allocations: 0 / 484.3 MB, free: 51.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.5551, allocations: 432 kB / 484.7 MB, free: 51.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005433/0.5606, allocations: 1.199 MB / 485.9 MB, free: 51.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003332/0.5609, allocations: 66.22 kB / 485.9 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.5779, allocations: 18.88 MB / 0.493 GB, free: 31.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5779, allocations: 4.062 kB / 0.493 GB, free: 31.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009699/0.5876, allocations: 4.93 MB / 0.4978 GB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/0.5886, allocations: 0.5316 MB / 0.4983 GB, free: 25.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/0.589, allocations: 52 kB / 0.4984 GB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.5908, allocations: 135.9 kB / 0.4985 GB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/0.5913, allocations: 201.8 kB / 0.4987 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.5915, allocations: 71.97 kB / 0.4988 GB, free: 25.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001208/0.5927, allocations: 1.041 MB / 0.4998 GB, free: 24.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5927, allocations: 0 / 0.4998 GB, free: 24.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002468/0.5952, allocations: 0.6965 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.0004998/0.5957, allocations: 267.1 kB / 0.5007 GB, free: 23.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005004/0.6007, allocations: 3.357 MB / 0.504 GB, free: 19.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.6007, allocations: 3.953 kB / 0.504 GB, free: 19.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003136/0.6039, allocations: 2.599 MB / 0.5065 GB, free: 17.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.6059, allocations: 391.1 kB / 0.5069 GB, free: 16.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007837/0.6137, allocations: 5.262 MB / 0.5121 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008812/0.6147, allocations: 1.561 MB / 0.5136 GB, free: 9.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001352/0.616, allocations: 307.5 kB / 0.5139 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.6166, allocations: 163.3 kB / 0.514 GB, free: 9.383 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6166, allocations: 0 / 0.514 GB, free: 9.383 MB / 382.1 MB Notification: Performance of Templates: time 0.05878/0.6754, allocations: 39.7 MB / 0.5528 GB, free: 1.641 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)