Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2223, allocations: 50.55 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.0111/0.2334, allocations: 10.57 MB / 420.5 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.2442, allocations: 6.387 MB / 426.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.2459, allocations: 39.81 kB / 427 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.2475, allocations: 485.2 kB / 427.4 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.2505, allocations: 0.9115 MB / 428.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005694/0.2562, allocations: 2.524 MB / 430.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004256/0.2605, allocations: 3.481 MB / 434.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.2618, allocations: 0.7527 MB / 435.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.2638, allocations: 1.285 MB / 436.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.2661, allocations: 1.471 MB / 437.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009367/0.267, allocations: 332 kB / 438.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.2687, allocations: 0.5738 MB / 438.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009485/0.2696, allocations: 0.736 MB / 439.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.2714, allocations: 1.4 MB / 440.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.2751, allocations: 3.936 MB / 444.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2752, allocations: 3.984 kB / 444.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2752, allocations: 0 / 444.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.38e-05/0.2752, allocations: 0 / 444.8 MB, free: 14.52 MB / 366.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.007184/0.2824, allocations: 3.083 MB / 447.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2825, allocations: 12.03 kB / 447.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008087/0.2833, allocations: 309.6 kB / 448.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.2855, allocations: 1.389 MB / 449.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.2858, allocations: 241.5 kB / 449.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005254/0.2863, allocations: 236 kB / 450.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/0.2899, allocations: 2.169 MB / 452.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.29, allocations: 7.984 kB / 452.3 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.2902, allocations: 80 kB / 452.3 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.483e-05/0.2902, allocations: 48 kB / 452.4 MB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.294, allocations: 1.916 MB / 454.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.3061, allocations: 7.786 MB / 462.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/0.3097, allocations: 2.076 MB / 464.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/0.3127, allocations: 1.59 MB / 465.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.733e-05/0.3128, allocations: 25.94 kB / 465.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.3128, allocations: 64.5 kB / 465.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.358e-06/0.3128, allocations: 0 / 465.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05388/0.3667, allocations: 14.08 MB / 479.9 MB, free: 10.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.3669, allocations: 385.8 kB / 480.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.3692, allocations: 1.519 MB / 481.8 MB, free: 8.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002409/0.3694, allocations: 77.7 kB / 481.9 MB, free: 8.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.37, allocations: 0.8276 MB / 482.7 MB, free: 7.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007675/0.3708, allocations: 0.8354 MB / 483.6 MB, free: 6.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007396/0.3716, allocations: 408.5 kB / 484 MB, free: 6.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.3717, allocations: 305.1 kB / 484.2 MB, free: 6.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.3738, allocations: 0.9924 MB / 485.2 MB, free: 5.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.3762, allocations: 1.27 MB / 486.5 MB, free: 3.953 MB / 398.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.03515/0.4113, allocations: 9.421 MB / 495.9 MB, free: 10.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4114, allocations: 0 / 495.9 MB, free: 10.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006939/0.4183, allocations: 2.952 MB / 498.9 MB, free: 7.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.4184, allocations: 8 kB / 498.9 MB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.4184, allocations: 7.938 kB / 498.9 MB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.4195, allocations: 345 kB / 499.2 MB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.4223, allocations: 0.55 MB / 499.8 MB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009283/0.4316, allocations: 10.94 MB / 0.4988 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.4338, allocations: 124 kB / 0.4989 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.4341, allocations: 87.95 kB / 0.499 GB, free: 10.49 MB / 430.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.001082/0.4352, allocations: 469.3 kB / 0.4994 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/0.4358, allocations: 217.3 kB / 0.4996 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008751/0.4446, allocations: 3.457 MB / 0.503 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.4446, allocations: 11.95 kB / 0.503 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4446, allocations: 0 / 0.503 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.4457, allocations: 0.5333 MB / 0.5035 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/0.4461, allocations: 56 kB / 0.5036 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/0.448, allocations: 135.9 kB / 0.5037 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/0.4484, allocations: 185.7 kB / 0.5039 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0108/0.4592, allocations: 3.882 MB / 0.5077 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007518/0.4668, allocations: 4.328 MB / 0.5119 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0021/0.4689, allocations: 1.191 MB / 0.5131 GB, free: 11.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.4705, allocations: 1.045 MB / 0.5141 GB, free: 10.68 MB / 446.1 MB Notification: Performance of Backend: time 4.11e-07/0.4706, allocations: 0 / 0.5141 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005627/0.4762, allocations: 2.635 MB / 0.5167 GB, free: 7.945 MB / 446.1 MB Notification: Performance of SimCode: time 0.007855/0.4841, allocations: 5.596 MB / 0.5221 GB, free: 2.301 MB / 446.1 MB Notification: Performance of Templates: time 0.2246/0.7088, allocations: 39.99 MB / 0.5612 GB, free: 116.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)