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.001081/0.001085, allocations: 107.6 kB / 17.06 MB, free: 6.023 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.0009817/0.0009817, allocations: 191 kB / 18 MB, free: 5.105 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.332/1.332, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001317/0.001317, allocations: 47.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09557, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.2199/0.3155, allocations: 10.46 MB / 385 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.3284, allocations: 6.308 MB / 391.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.3313, allocations: 39.38 kB / 391.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.3329, allocations: 486 kB / 391.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.3366, allocations: 0.8991 MB / 392.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007219/0.3438, allocations: 2.511 MB / 395.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005713/0.3495, allocations: 3.461 MB / 398.6 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.3508, allocations: 0.7612 MB / 399.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.3535, allocations: 1.276 MB / 400.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.3557, allocations: 1.467 MB / 402.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004755/0.3562, allocations: 328.7 kB / 402.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3575, allocations: 0.5712 MB / 403 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.3581, allocations: 0.741 MB / 403.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.3596, allocations: 1.399 MB / 405.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.364, allocations: 3.927 MB / 409.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3641, allocations: 0 / 409.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3641, allocations: 1.25 kB / 409.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.219e-05/0.3642, allocations: 0 / 409.1 MB, free: 9.781 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.009452/0.3736, allocations: 3.085 MB / 412.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3737, allocations: 9.5 kB / 412.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008662/0.3746, allocations: 277.2 kB / 412.5 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/0.3781, allocations: 1.372 MB / 413.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.3785, allocations: 240.3 kB / 414.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006516/0.3791, allocations: 235.2 kB / 414.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004263/0.3834, allocations: 2.171 MB / 416.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/0.3835, allocations: 9.219 kB / 416.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.3837, allocations: 83.25 kB / 416.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.3837, allocations: 46.75 kB / 416.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/0.3879, allocations: 1.92 MB / 418.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/0.4008, allocations: 7.775 MB / 426.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.4043, allocations: 2.077 MB / 428.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003015/0.4074, allocations: 1.586 MB / 430 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.4075, allocations: 37.86 kB / 430 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.4076, allocations: 60.56 kB / 430.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 4.709e-06/0.4076, allocations: 0 / 430.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.05381/0.4614, allocations: 14.07 MB / 444.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/0.4617, allocations: 397.8 kB / 444.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.4649, allocations: 1.518 MB / 446 MB, free: 7.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006643/0.4656, allocations: 69.7 kB / 446.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008261/0.4664, allocations: 0.8197 MB / 446.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.4676, allocations: 0.8315 MB / 447.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.4688, allocations: 416.5 kB / 448.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4689, allocations: 301.1 kB / 448.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/0.4713, allocations: 1 MB / 449.5 MB, free: 4.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.4737, allocations: 1.26 MB / 450.7 MB, free: 2.68 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.03406/0.5078, allocations: 9.421 MB / 460.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.5079, allocations: 7.938 kB / 460.2 MB, free: 9.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006929/0.5148, allocations: 2.94 MB / 463.1 MB, free: 6.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.5149, allocations: 15.22 kB / 463.1 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.5149, allocations: 4 kB / 463.1 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.5159, allocations: 352.9 kB / 463.5 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.5188, allocations: 0.5539 MB / 464 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009748/0.5286, allocations: 10.94 MB / 475 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.5319, allocations: 123.9 kB / 475.1 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000549/0.5325, allocations: 84.02 kB / 475.2 MB, free: 9.211 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.001738/0.5342, allocations: 461.4 kB / 475.6 MB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009507/0.5352, allocations: 213.4 kB / 475.8 MB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009658/0.5448, allocations: 3.465 MB / 479.3 MB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.5449, allocations: 24 kB / 479.3 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.5449, allocations: 4 kB / 479.3 MB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.361e-05/0.545, allocations: 19.95 kB / 479.3 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.5611, allocations: 6.258 MB / 485.6 MB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.5612, allocations: 7.938 kB / 485.6 MB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/0.5635, allocations: 419.5 kB / 486 MB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006214/0.5697, allocations: 1.202 MB / 487.2 MB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006133/0.5704, allocations: 67.91 kB / 487.3 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02515/0.5956, allocations: 18.88 MB / 0.4943 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5956, allocations: 0 / 0.4943 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.6078, allocations: 4.928 MB / 0.4991 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/0.6093, allocations: 0.5333 MB / 0.4996 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006582/0.6099, allocations: 56.05 kB / 0.4997 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/0.6123, allocations: 135.9 kB / 0.4998 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/0.6129, allocations: 205.8 kB / 0.5 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/0.6131, allocations: 71.92 kB / 0.5001 GB, free: 2.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001738/0.6149, allocations: 1.041 MB / 0.5011 GB, free: 1.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6149, allocations: 0 / 0.5011 GB, free: 1.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003308/0.6182, allocations: 0.6992 MB / 0.5018 GB, free: 0.8867 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.0006886/0.6189, allocations: 253 kB / 0.502 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006557/0.6255, allocations: 3.36 MB / 0.5053 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.6255, allocations: 7.938 kB / 0.5053 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004216/0.6298, allocations: 2.593 MB / 0.5078 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.6326, allocations: 382.5 kB / 0.5082 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.6429, allocations: 5.28 MB / 0.5134 GB, free: 4.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.6447, allocations: 1.561 MB / 0.5149 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002023/0.6468, allocations: 291.8 kB / 0.5152 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008573/0.6477, allocations: 167.3 kB / 0.5153 GB, free: 2.656 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6477, allocations: 0 / 0.5153 GB, free: 2.656 MB / 446.1 MB Notification: Performance of Templates: time 0.2458/0.8935, allocations: 39.69 MB / 0.5541 GB, free: 154 MB / 478.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)