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.0014/0.0014, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001307/0.001307, allocations: 52.41 kB / 278.7 MB, free: 12.31 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1904, allocations: 46.64 MB / 325.3 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01169/0.2021, allocations: 10.48 MB / 335.8 MB, free: 9.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.2139, allocations: 6.294 MB / 342.1 MB, free: 3.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.2157, allocations: 43.81 kB / 342.1 MB, free: 3.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.2172, allocations: 487.9 kB / 342.6 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.2201, allocations: 0.8919 MB / 343.5 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.2256, allocations: 2.518 MB / 346 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004035/0.2297, allocations: 3.451 MB / 349.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.2308, allocations: 0.7488 MB / 350.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.2326, allocations: 1.273 MB / 351.5 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.2347, allocations: 1.467 MB / 353 MB, free: 8.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007696/0.2354, allocations: 328 kB / 353.3 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.2368, allocations: 0.566 MB / 353.8 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008366/0.2376, allocations: 0.7321 MB / 354.6 MB, free: 6.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.2394, allocations: 1.404 MB / 356 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.2427, allocations: 3.882 MB / 359.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2428, allocations: 0 / 359.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2428, allocations: 4 kB / 359.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.015e-05/0.2428, allocations: 0 / 359.9 MB, free: 1.344 MB / 286.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.007032/0.2499, allocations: 3.075 MB / 362.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2499, allocations: 8.031 kB / 363 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004564/0.2504, allocations: 281.7 kB / 363.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.2522, allocations: 1.354 MB / 364.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.2524, allocations: 241.5 kB / 364.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.253, allocations: 239.9 kB / 365.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.2566, allocations: 2.162 MB / 367.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/0.2567, allocations: 7.938 kB / 367.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.2569, allocations: 80 kB / 367.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.257, allocations: 48 kB / 367.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004001/0.261, allocations: 1.92 MB / 369.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.273, allocations: 7.841 MB / 377.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.2765, allocations: 2.084 MB / 379.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.2786, allocations: 1.239 MB / 380.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.286e-05/0.2787, allocations: 25.94 kB / 380.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.2787, allocations: 60.56 kB / 380.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.837e-06/0.2787, allocations: 0 / 380.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.0538/0.3325, allocations: 14.06 MB / 394.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003428/0.3329, allocations: 397.8 kB / 395 MB, free: 13.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.3352, allocations: 1.51 MB / 396.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.3356, allocations: 73.7 kB / 396.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/0.3362, allocations: 0.8197 MB / 397.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007901/0.337, allocations: 0.8315 MB / 398.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006945/0.3377, allocations: 412.5 kB / 398.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3378, allocations: 305.1 kB / 398.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.3399, allocations: 0.9924 MB / 399.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.3422, allocations: 1.249 MB / 401.1 MB, free: 7.184 MB / 334.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.03406/0.3763, allocations: 9.402 MB / 410.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3763, allocations: 0 / 410.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006389/0.3827, allocations: 2.928 MB / 413.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3828, allocations: 8 kB / 413.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/0.3828, allocations: 16.06 kB / 413.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/0.3838, allocations: 368.8 kB / 413.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/0.3865, allocations: 0.5539 MB / 414.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009954/0.3965, allocations: 11.1 MB / 425.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.3993, allocations: 135.8 kB / 425.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/0.3998, allocations: 83.95 kB / 425.7 MB, free: 13.56 MB / 366.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.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.001325/0.4011, allocations: 465.3 kB / 426.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006871/0.4018, allocations: 209.5 kB / 426.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/0.4109, allocations: 3.453 MB / 429.8 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/0.411, allocations: 28 kB / 429.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.411, allocations: 4 kB / 429.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.409e-05/0.411, allocations: 19.94 kB / 429.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.4249, allocations: 6.173 MB / 436.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.425, allocations: 0 / 436.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/0.4271, allocations: 419.4 kB / 436.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005897/0.433, allocations: 1.209 MB / 437.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/0.4333, allocations: 67.91 kB / 437.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2058/0.6391, allocations: 19.04 MB / 456.8 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6391, allocations: 1.156 kB / 456.8 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.6519, allocations: 4.896 MB / 461.7 MB, free: 108.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.6533, allocations: 0.5276 MB / 462.2 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/0.6539, allocations: 55.47 kB / 462.3 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.656, allocations: 140.8 kB / 462.4 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/0.6565, allocations: 198.9 kB / 462.6 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.6567, allocations: 71.89 kB / 462.7 MB, free: 108 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001439/0.6581, allocations: 1.042 MB / 463.7 MB, free: 107.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6581, allocations: 1.281 kB / 463.7 MB, free: 107.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002832/0.661, allocations: 0.7007 MB / 464.4 MB, free: 107.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 (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.0006155/0.6616, allocations: 250.1 kB / 464.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008874/0.6705, allocations: 3.756 MB / 468.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6705, allocations: 3.812 kB / 468.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00335/0.6739, allocations: 2.615 MB / 471 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.6761, allocations: 388.9 kB / 471.4 MB, free: 103.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00792/0.684, allocations: 5.301 MB / 476.7 MB, free: 98.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009866/0.685, allocations: 1.562 MB / 478.3 MB, free: 97.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001275/0.6863, allocations: 299.8 kB / 478.6 MB, free: 97.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006056/0.6869, allocations: 171.3 kB / 478.7 MB, free: 97.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.687, allocations: 1.969 kB / 478.7 MB, free: 97.02 MB / 382.1 MB Notification: Performance of Templates: time 0.05131/0.7383, allocations: 39.24 MB / 0.5058 GB, free: 57.74 MB / 382.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)