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.006679/0.006679, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001277/0.001277, allocations: 190 kB / 16.67 MB, free: 5.969 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.464/1.464, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001261/0.001261, allocations: 41.47 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09773, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01101/0.1088, allocations: 10.47 MB / 383.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.1213, allocations: 6.306 MB / 390 MB, free: 464 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.1237, allocations: 39.81 kB / 390 MB, free: 424 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.1254, allocations: 480 kB / 390.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.1287, allocations: 0.931 MB / 391.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006401/0.1352, allocations: 2.511 MB / 393.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005589/0.1408, allocations: 3.477 MB / 397.4 MB, free: 9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.1422, allocations: 0.7449 MB / 398.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.1444, allocations: 1.293 MB / 399.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.1463, allocations: 1.463 MB / 400.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004944/0.1468, allocations: 328 kB / 401.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.148, allocations: 0.5738 MB / 401.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006852/0.1487, allocations: 0.7321 MB / 402.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.1502, allocations: 1.4 MB / 403.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004284/0.1545, allocations: 3.938 MB / 407.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.1545, allocations: 7.938 kB / 407.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1545, allocations: 0 / 407.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.161e-05/0.1546, allocations: 0 / 407.9 MB, free: 14.46 MB / 350.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.007823/0.1625, allocations: 3.15 MB / 411 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1625, allocations: 12.03 kB / 411 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/0.163, allocations: 287.2 kB / 411.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.1653, allocations: 1.375 MB / 412.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.1655, allocations: 257.4 kB / 412.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/0.1661, allocations: 240 kB / 413.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.17, allocations: 2.162 MB / 415.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.17, allocations: 3.938 kB / 415.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.1702, allocations: 80 kB / 415.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.1702, allocations: 48 kB / 415.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.1743, allocations: 1.92 MB / 417.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.1868, allocations: 7.804 MB / 425.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.1905, allocations: 2.068 MB / 427.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.1935, allocations: 1.598 MB / 428.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.1937, allocations: 29.92 kB / 428.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.1937, allocations: 56.56 kB / 428.9 MB, free: 8.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.158e-06/0.1937, allocations: 0 / 428.9 MB, free: 8.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05227/0.246, allocations: 14.17 MB / 443.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.2463, allocations: 393.8 kB / 443.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.2485, allocations: 1.51 MB / 445 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.2487, allocations: 65.7 kB / 445.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/0.2493, allocations: 0.8408 MB / 445.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006759/0.25, allocations: 0.8752 MB / 446.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006872/0.2507, allocations: 412.7 kB / 447.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2508, allocations: 305.1 kB / 447.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.253, allocations: 0.9924 MB / 448.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.2553, allocations: 1.264 MB / 449.7 MB, free: 3.723 MB / 382.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.2461/0.5014, allocations: 9.413 MB / 459.1 MB, free: 68.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.5015, allocations: 4.781 kB / 459.2 MB, free: 68.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006171/0.5077, allocations: 2.951 MB / 462.1 MB, free: 66.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.5077, allocations: 5.594 kB / 462.1 MB, free: 66.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-05/0.5078, allocations: 15.45 kB / 462.1 MB, free: 66.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.5088, allocations: 349.7 kB / 462.5 MB, free: 66.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/0.5115, allocations: 0.5495 MB / 463 MB, free: 66.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007997/0.5195, allocations: 10.94 MB / 474 MB, free: 56.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.5221, allocations: 128.6 kB / 474.1 MB, free: 56.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.5224, allocations: 84.05 kB / 474.2 MB, free: 56.65 MB / 382.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.001183/0.5236, allocations: 477.1 kB / 474.6 MB, free: 56.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/0.5241, allocations: 214.6 kB / 474.8 MB, free: 56.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007595/0.5317, allocations: 3.462 MB / 478.3 MB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.5318, allocations: 23.72 kB / 478.3 MB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.5318, allocations: 7.797 kB / 478.3 MB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/0.5318, allocations: 22.45 kB / 478.4 MB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.5452, allocations: 6.26 MB / 484.6 MB, free: 51.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.5453, allocations: 4.375 kB / 484.6 MB, free: 51.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.5472, allocations: 429.7 kB / 485 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005307/0.5525, allocations: 1.199 MB / 486.2 MB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/0.5528, allocations: 67.97 kB / 486.3 MB, free: 50.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.57, allocations: 18.89 MB / 0.4934 GB, free: 30.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.5701, allocations: 8 kB / 0.4934 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009781/0.5799, allocations: 4.942 MB / 0.4982 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.581, allocations: 0.5381 MB / 0.4987 GB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/0.5813, allocations: 59.98 kB / 0.4988 GB, free: 25.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.5831, allocations: 134.5 kB / 0.4989 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005219/0.5837, allocations: 205.7 kB / 0.4991 GB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.5838, allocations: 71.98 kB / 0.4992 GB, free: 24.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.585, allocations: 1.041 MB / 0.5002 GB, free: 23.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.585, allocations: 4 kB / 0.5002 GB, free: 23.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002467/0.5875, allocations: 0.6933 MB / 0.5009 GB, free: 23.02 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 (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.0005417/0.5881, allocations: 263.8 kB / 0.5011 GB, free: 22.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005281/0.5934, allocations: 3.363 MB / 0.5044 GB, free: 19.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5934, allocations: 384 / 0.5044 GB, free: 19.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003278/0.5967, allocations: 2.612 MB / 0.507 GB, free: 16.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.5989, allocations: 382.2 kB / 0.5073 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/0.6069, allocations: 5.342 MB / 0.5125 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009846/0.608, allocations: 1.565 MB / 0.5141 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001418/0.6094, allocations: 295.5 kB / 0.5143 GB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.61, allocations: 163.3 kB / 0.5145 GB, free: 8.801 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.61, allocations: 4 kB / 0.5145 GB, free: 8.797 MB / 382.1 MB Notification: Performance of Templates: time 0.06971/0.6797, allocations: 39.7 MB / 0.5533 GB, free: 1.051 MB / 414.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)