Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001084/0.001085, allocations: 89.78 kB / 16.65 MB, free: 6.535 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.001448/0.001448, allocations: 172.9 kB / 17.56 MB, free: 6.184 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.359/1.359, allocations: 205.4 MB / 223.7 MB, free: 13.05 MB / 190.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.0004633/0.0004635, allocations: 8 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09531, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009467/0.1048, allocations: 9.837 MB / 338.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1157, allocations: 6.62 MB / 344.8 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.1171, allocations: 39.75 kB / 344.8 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.1181, allocations: 393.3 kB / 345.2 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.1204, allocations: 0.784 MB / 346 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004703/0.1251, allocations: 2.028 MB / 348 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004606/0.1297, allocations: 3.371 MB / 351.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000965/0.1307, allocations: 0.6464 MB / 352 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.1323, allocations: 1.066 MB / 353.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.1339, allocations: 1.299 MB / 354.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.1342, allocations: 148 kB / 354.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008396/0.135, allocations: 395.5 kB / 354.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004935/0.1355, allocations: 0.5485 MB / 355.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.1367, allocations: 1.237 MB / 356.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.1397, allocations: 3.658 MB / 360.4 MB, free: 3.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1397, allocations: 4 kB / 360.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1397, allocations: 0 / 360.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.624e-05/0.1398, allocations: 0 / 360.4 MB, free: 3.539 MB / 302.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.006358/0.1461, allocations: 2.635 MB / 363 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1462, allocations: 12.03 kB / 363 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005012/0.1467, allocations: 277.7 kB / 363.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.1488, allocations: 1.354 MB / 364.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.149, allocations: 241.5 kB / 364.9 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005599/0.1496, allocations: 247.8 kB / 365.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.1535, allocations: 2.189 MB / 367.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.1536, allocations: 3.984 kB / 367.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.1538, allocations: 87.94 kB / 367.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.1538, allocations: 48 kB / 367.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.1579, allocations: 1.955 MB / 369.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/0.1707, allocations: 7.888 MB / 377.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.1743, allocations: 2.111 MB / 379.4 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1542/0.3285, allocations: 1.246 MB / 380.7 MB, free: 50.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.3287, allocations: 32.36 kB / 380.7 MB, free: 50.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.3288, allocations: 65.97 kB / 380.8 MB, free: 50.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.118e-06/0.3288, allocations: 1.594 kB / 380.8 MB, free: 50.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05271/0.3815, allocations: 14.8 MB / 395.6 MB, free: 46.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3816, allocations: 396.5 kB / 395.9 MB, free: 46.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.3834, allocations: 1.513 MB / 397.5 MB, free: 45.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.3837, allocations: 73.3 kB / 397.5 MB, free: 45.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.3841, allocations: 0.8135 MB / 398.3 MB, free: 44.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/0.3847, allocations: 0.8418 MB / 399.2 MB, free: 43.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.3849, allocations: 198.5 kB / 399.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.41e-05/0.3849, allocations: 301.1 kB / 399.7 MB, free: 43.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.3868, allocations: 1.025 MB / 400.7 MB, free: 42.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.3888, allocations: 1.285 MB / 402 MB, free: 40.92 MB / 318.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.03163/0.4204, allocations: 9.708 MB / 411.7 MB, free: 31.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.4204, allocations: 0 / 411.7 MB, free: 31.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005512/0.4259, allocations: 3.001 MB / 414.7 MB, free: 28.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.426, allocations: 7.984 kB / 414.7 MB, free: 28.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.426, allocations: 4 kB / 414.7 MB, free: 28.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008319/0.4269, allocations: 362.2 kB / 415.1 MB, free: 27.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.4294, allocations: 0.5627 MB / 415.6 MB, free: 27.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006398/0.4358, allocations: 10.03 MB / 425.6 MB, free: 16.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.4383, allocations: 145.2 kB / 425.8 MB, free: 16.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.4385, allocations: 83.91 kB / 425.9 MB, free: 16.06 MB / 318.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.winding13.i = transformer.I1Start[3] transformer.winding12.i = transformer.I1Start[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 (256): * Single equations (assignments): 244 * 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,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00101/0.4396, allocations: 472.4 kB / 426.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.4399, allocations: 205.5 kB / 426.5 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.4478, allocations: 3.546 MB / 430.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.4478, allocations: 28 kB / 430.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4478, allocations: 4 kB / 430.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.4478, allocations: 19.94 kB / 430.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.4594, allocations: 6.291 MB / 436.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.4595, allocations: 3.375 kB / 436.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/0.4617, allocations: 427.4 kB / 436.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006101/0.4678, allocations: 1.256 MB / 438.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000424/0.4683, allocations: 59.98 kB / 438.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.488, allocations: 17.44 MB / 455.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4881, allocations: 4.062 kB / 455.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.4993, allocations: 5.038 MB / 460.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.5005, allocations: 0.5256 MB / 461.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.5008, allocations: 56 kB / 461.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.5026, allocations: 155.9 kB / 461.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000545/0.5032, allocations: 209.7 kB / 461.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.5033, allocations: 67.98 kB / 461.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001406/0.5048, allocations: 1.041 MB / 462.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5048, allocations: 0 / 462.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002409/0.5072, allocations: 0.6965 MB / 463.4 MB, free: 9.066 MB / 350.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 (202): * Single equations (assignments): 193 * 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,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005149/0.5077, allocations: 250.4 kB / 463.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005772/0.5135, allocations: 3.423 MB / 467 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5135, allocations: 0 / 467 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003784/0.5173, allocations: 2.636 MB / 469.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.5196, allocations: 371 kB / 470 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008999/0.5286, allocations: 6.602 MB / 476.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.5297, allocations: 1.568 MB / 478.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.5311, allocations: 295.8 kB / 478.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/0.5317, allocations: 159.4 kB / 478.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5317, allocations: 0 / 478.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of Templates: time 0.05707/0.5888, allocations: 36.51 MB / 0.5031 GB, free: 4.902 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)