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.001396/0.001396, allocations: 106.8 kB / 16.62 MB, free: 6.812 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.001502/0.001502, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.322/1.322, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001331/0.001331, allocations: 51.94 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08807, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01087/0.09897, allocations: 10.4 MB / 336.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.1104, allocations: 6.338 MB / 342.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.1126, allocations: 39.81 kB / 342.9 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.1144, allocations: 389.3 kB / 343.3 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.1178, allocations: 0.7996 MB / 344.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006132/0.124, allocations: 2.247 MB / 346.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006476/0.1305, allocations: 3.458 MB / 349.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.1322, allocations: 0.7449 MB / 350.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.1348, allocations: 1.285 MB / 351.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.1374, allocations: 1.482 MB / 353.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.1385, allocations: 328 kB / 353.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.1402, allocations: 0.566 MB / 354.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.1413, allocations: 0.736 MB / 354.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.1435, allocations: 1.411 MB / 356.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.147, allocations: 3.874 MB / 360.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.147, allocations: 3.984 kB / 360.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.147, allocations: 0 / 360.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.494e-05/0.1471, allocations: 4 kB / 360.2 MB, free: 2.543 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.006974/0.1541, allocations: 3.071 MB / 363.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1541, allocations: 12.02 kB / 363.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.1546, allocations: 273.8 kB / 363.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.1564, allocations: 1.358 MB / 364.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.1566, allocations: 241.5 kB / 365.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005408/0.1572, allocations: 240 kB / 365.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/0.1608, allocations: 2.169 MB / 367.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.1609, allocations: 4 kB / 367.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.1611, allocations: 76 kB / 367.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.1611, allocations: 48 kB / 367.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.1647, allocations: 1.92 MB / 369.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.1764, allocations: 7.845 MB / 377.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.159/0.3355, allocations: 2.075 MB / 379.5 MB, free: 51.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.3379, allocations: 1.229 MB / 380.8 MB, free: 51.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.338, allocations: 32.5 kB / 380.8 MB, free: 51.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.3381, allocations: 65.33 kB / 380.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.228e-06/0.3381, allocations: 1.375 kB / 380.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.0478/0.3859, allocations: 14.07 MB / 394.9 MB, free: 46.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.3861, allocations: 396.3 kB / 395.3 MB, free: 45.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.3877, allocations: 1.507 MB / 396.8 MB, free: 45.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.3879, allocations: 76.84 kB / 396.9 MB, free: 44.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.3883, allocations: 0.8155 MB / 397.7 MB, free: 44.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.3887, allocations: 0.8348 MB / 398.6 MB, free: 43.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005537/0.3893, allocations: 409.4 kB / 399 MB, free: 43.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.3893, allocations: 309.1 kB / 399.3 MB, free: 43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.391, allocations: 0.9898 MB / 400.3 MB, free: 42.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.3927, allocations: 1.256 MB / 401.5 MB, free: 41.07 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.02889/0.4216, allocations: 9.396 MB / 410.9 MB, free: 31.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4217, allocations: 8 kB / 410.9 MB, free: 31.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005362/0.427, allocations: 2.939 MB / 413.8 MB, free: 28.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4271, allocations: 8.625 kB / 413.9 MB, free: 28.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.4271, allocations: 4 kB / 413.9 MB, free: 28.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008218/0.4279, allocations: 361 kB / 414.2 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.4304, allocations: 0.5569 MB / 414.8 MB, free: 27.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/0.4368, allocations: 11.11 MB / 425.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.4393, allocations: 120 kB / 426 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/0.4395, allocations: 88.05 kB / 426.1 MB, free: 15.5 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 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.0009495/0.4405, allocations: 467.5 kB / 426.5 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.441, allocations: 217.4 kB / 426.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/0.4483, allocations: 3.447 MB / 430.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.4484, allocations: 28 kB / 430.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4484, allocations: 5.969 kB / 430.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.4484, allocations: 11.95 kB / 430.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.4594, allocations: 6.184 MB / 436.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.4595, allocations: 0 / 436.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/0.4614, allocations: 423.4 kB / 436.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005312/0.4667, allocations: 1.205 MB / 438 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004321/0.4672, allocations: 59.98 kB / 438.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.4874, allocations: 19.05 MB / 457.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4874, allocations: 0 / 457.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.499, allocations: 4.91 MB / 462.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.5005, allocations: 0.5295 MB / 462.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/0.5009, allocations: 56 kB / 462.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/0.5029, allocations: 131.9 kB / 462.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006154/0.5035, allocations: 197.7 kB / 463 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.5036, allocations: 71.98 kB / 463 MB, free: 9.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.5051, allocations: 1.049 MB / 464.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5051, allocations: 0 / 464.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002924/0.508, allocations: 0.6913 MB / 464.8 MB, free: 7.277 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.0006954/0.5087, allocations: 253.2 kB / 465 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0101/0.5189, allocations: 3.759 MB / 468.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 0.0001199/0.519, allocations: 4 kB / 468.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004008/0.523, allocations: 2.62 MB / 471.4 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.5253, allocations: 376.5 kB / 471.8 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00944/0.5348, allocations: 6.291 MB / 478.1 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.5359, allocations: 1.557 MB / 479.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.5374, allocations: 295.8 kB / 479.9 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.538, allocations: 171.3 kB / 480.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.538, allocations: 0 / 480.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of Templates: time 0.06164/0.5997, allocations: 38.74 MB / 0.5067 GB, free: 0.9258 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)