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.006824/0.006824, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001035/0.001035, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.416/1.416, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001119/0.001119, allocations: 51.91 kB / 326.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09683, allocations: 46.6 MB / 373.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1982/0.2951, allocations: 10.46 MB / 383.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.3061, allocations: 6.312 MB / 389.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.3084, allocations: 39.91 kB / 390 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.31, allocations: 485.3 kB / 390.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.3136, allocations: 0.9273 MB / 391.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007423/0.3211, allocations: 2.51 MB / 393.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005487/0.3266, allocations: 3.474 MB / 397.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.3278, allocations: 0.7526 MB / 398.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.3302, allocations: 1.289 MB / 399.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.3325, allocations: 1.469 MB / 400.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004526/0.3329, allocations: 327.2 kB / 401.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.3342, allocations: 0.5706 MB / 401.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007135/0.3349, allocations: 0.7401 MB / 402.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.3363, allocations: 1.399 MB / 403.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003988/0.3403, allocations: 3.926 MB / 407.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3403, allocations: 1.094 kB / 407.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3403, allocations: 3.938 kB / 407.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.815e-05/0.3404, allocations: 0 / 407.8 MB, free: 9.52 MB / 334.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.007701/0.3481, allocations: 3.078 MB / 410.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3482, allocations: 9.375 kB / 410.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.3487, allocations: 273.3 kB / 411.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.3512, allocations: 1.376 MB / 412.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.3514, allocations: 245.1 kB / 412.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005049/0.3519, allocations: 239.8 kB / 413 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/0.3555, allocations: 2.165 MB / 415.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.3555, allocations: 9.266 kB / 415.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.3557, allocations: 83.23 kB / 415.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.3558, allocations: 47.91 kB / 415.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.3596, allocations: 1.914 MB / 417.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.3715, allocations: 7.782 MB / 425 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/0.375, allocations: 2.081 MB / 427.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/0.3779, allocations: 1.59 MB / 428.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3781, allocations: 29.92 kB / 428.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/0.3781, allocations: 60.56 kB / 428.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 4.528e-06/0.3782, allocations: 3.938 kB / 428.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.05484/0.433, allocations: 14.07 MB / 442.9 MB, free: 9.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/0.4332, allocations: 393.8 kB / 443.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.4359, allocations: 1.514 MB / 444.8 MB, free: 7.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003363/0.4363, allocations: 69.7 kB / 444.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007117/0.437, allocations: 0.8236 MB / 445.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.4381, allocations: 0.8354 MB / 446.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000953/0.439, allocations: 408.5 kB / 446.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4392, allocations: 301.1 kB / 447.2 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.4413, allocations: 0.9924 MB / 448.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.4438, allocations: 1.264 MB / 449.4 MB, free: 2.469 MB / 366.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.03407/0.4779, allocations: 9.429 MB / 458.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4779, allocations: 3.938 kB / 458.9 MB, free: 8.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006646/0.4846, allocations: 2.952 MB / 461.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4847, allocations: 7.938 kB / 461.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/0.4847, allocations: 11.98 kB / 461.8 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.4858, allocations: 349 kB / 462.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.4885, allocations: 0.5461 MB / 462.7 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009933/0.4985, allocations: 10.94 MB / 473.7 MB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.5009, allocations: 124 kB / 473.8 MB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.5014, allocations: 79.97 kB / 473.9 MB, free: 8.992 MB / 398.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.001453/0.5028, allocations: 461.4 kB / 474.3 MB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008352/0.5037, allocations: 217.3 kB / 474.5 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008774/0.5125, allocations: 3.453 MB / 478 MB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.5125, allocations: 28 kB / 478 MB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/0.5125, allocations: 8 kB / 478 MB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/0.5126, allocations: 11.95 kB / 478 MB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.5274, allocations: 6.27 MB / 484.3 MB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.5275, allocations: 4 kB / 484.3 MB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.5296, allocations: 427.4 kB / 484.7 MB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005715/0.5353, allocations: 1.198 MB / 485.9 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/0.5356, allocations: 63.98 kB / 486 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/0.558, allocations: 18.88 MB / 0.493 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.558, allocations: 4.031 kB / 0.493 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.5695, allocations: 4.928 MB / 0.4979 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.571, allocations: 0.5333 MB / 0.4984 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000604/0.5716, allocations: 56 kB / 0.4984 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/0.5738, allocations: 135.9 kB / 0.4986 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005942/0.5744, allocations: 201.8 kB / 0.4988 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/0.5746, allocations: 75.91 kB / 0.4988 GB, free: 2.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00181/0.5764, allocations: 1.041 MB / 0.4998 GB, free: 1.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5764, allocations: 0 / 0.4998 GB, free: 1.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003678/0.5801, allocations: 0.6914 MB / 0.5005 GB, free: 0.6719 MB / 430.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.0006948/0.5808, allocations: 257.1 kB / 0.5008 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006571/0.5874, allocations: 3.36 MB / 0.504 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.5874, allocations: 0 / 0.504 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004427/0.5919, allocations: 2.597 MB / 0.5066 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/0.5953, allocations: 386.1 kB / 0.5069 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.6062, allocations: 5.281 MB / 0.5121 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.6076, allocations: 1.561 MB / 0.5136 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001724/0.6094, allocations: 299.8 kB / 0.5139 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008598/0.6103, allocations: 159.4 kB / 0.5141 GB, free: 2.438 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6103, allocations: 0 / 0.5141 GB, free: 2.438 MB / 446.1 MB Notification: Performance of Templates: time 0.2707/0.881, allocations: 39.69 MB / 0.5528 GB, free: 153.7 MB / 478.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)