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.001557/0.001558, allocations: 93.2 kB / 16.3 MB, free: 6.133 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.001999/0.001999, allocations: 179 kB / 17.2 MB, free: 6.016 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.564/1.564, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0005055/0.0005056, allocations: 8 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.107, allocations: 47.59 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01006/0.1171, allocations: 8.408 MB / 336.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.1297, allocations: 6.175 MB / 342.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.1323, allocations: 31.88 kB / 342.3 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.1342, allocations: 397.6 kB / 342.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.1381, allocations: 0.888 MB / 343.6 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005298/0.1434, allocations: 1.739 MB / 345.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004632/0.148, allocations: 2.113 MB / 347.5 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.1491, allocations: 0.5925 MB / 348 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.1508, allocations: 1.024 MB / 349.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.1524, allocations: 1.222 MB / 350.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.1526, allocations: 151.9 kB / 350.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008918/0.1535, allocations: 371.6 kB / 350.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.154, allocations: 0.5177 MB / 351.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.1545, allocations: 480.4 kB / 351.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.1573, allocations: 2.98 MB / 354.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1573, allocations: 0 / 354.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1573, allocations: 0 / 354.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.65e-05/0.1574, allocations: 0 / 354.8 MB, free: 8.926 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.006438/0.1638, allocations: 2.674 MB / 357.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.1639, allocations: 12.02 kB / 357.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004923/0.1644, allocations: 280.7 kB / 357.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.1665, allocations: 1.291 MB / 359 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.1667, allocations: 244.9 kB / 359.3 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/0.1673, allocations: 231.9 kB / 359.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.1711, allocations: 2.158 MB / 361.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.1712, allocations: 3.938 kB / 361.6 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.1714, allocations: 80 kB / 361.7 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.1714, allocations: 48 kB / 361.8 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/0.1753, allocations: 1.943 MB / 363.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.1875, allocations: 7.884 MB / 371.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/0.191, allocations: 2.111 MB / 373.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.1912, allocations: 29.92 kB / 373.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.1912, allocations: 64.56 kB / 373.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.058e-06/0.1912, allocations: 0 / 373.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.2252/0.4165, allocations: 14.76 MB / 388.6 MB, free: 48.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.4166, allocations: 396.5 kB / 389 MB, free: 48.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.4187, allocations: 1.499 MB / 390.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.4189, allocations: 74.45 kB / 390.5 MB, free: 47.33 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.4193, allocations: 0.818 MB / 391.3 MB, free: 46.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.4198, allocations: 0.8342 MB / 392.2 MB, free: 46.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.42, allocations: 50.47 kB / 392.2 MB, free: 46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4201, allocations: 394.4 kB / 392.6 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.422, allocations: 1.014 MB / 393.6 MB, free: 45.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.424, allocations: 1.263 MB / 394.9 MB, free: 44.68 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.02618/0.4502, allocations: 7.475 MB / 402.4 MB, free: 40.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.4503, allocations: 0 / 402.4 MB, free: 40.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005329/0.4556, allocations: 2.977 MB / 405.3 MB, free: 37.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4557, allocations: 4 kB / 405.3 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.4557, allocations: 7.984 kB / 405.4 MB, free: 37.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008274/0.4565, allocations: 363.1 kB / 405.7 MB, free: 37.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.4589, allocations: 0.5461 MB / 406.3 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.4653, allocations: 10.11 MB / 416.4 MB, free: 25.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.4678, allocations: 144.5 kB / 416.5 MB, free: 25.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.468, allocations: 83.95 kB / 416.6 MB, free: 25.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 sytem: transformer.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.4691, allocations: 470.7 kB / 417 MB, free: 25.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.4695, allocations: 201.6 kB / 417.2 MB, free: 24.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007429/0.4769, allocations: 3.537 MB / 420.8 MB, free: 21.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.477, allocations: 31.98 kB / 420.8 MB, free: 21.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.477, allocations: 4 kB / 420.8 MB, free: 21.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.4771, allocations: 15.89 kB / 420.8 MB, free: 21.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.4891, allocations: 6.27 MB / 427.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.4892, allocations: 0 / 427.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.4911, allocations: 431.4 kB / 427.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00545/0.4965, allocations: 1.251 MB / 428.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/0.4969, allocations: 59.97 kB / 428.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/0.5155, allocations: 17.67 MB / 446.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5155, allocations: 320 / 446.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.5269, allocations: 5.055 MB / 451.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.5283, allocations: 0.5294 MB / 452.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004579/0.5288, allocations: 55.98 kB / 452.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.5306, allocations: 159.8 kB / 452.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004692/0.531, allocations: 200.3 kB / 452.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.5312, allocations: 67.98 kB / 452.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.5326, allocations: 1.033 MB / 453.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5326, allocations: 0 / 453.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002557/0.5352, allocations: 0.6932 MB / 454.3 MB, free: 2.281 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005108/0.5357, allocations: 256.7 kB / 454.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005691/0.5414, allocations: 3.407 MB / 457.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5414, allocations: 0 / 457.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.5452, allocations: 2.635 MB / 460.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.5469, allocations: 326.6 kB / 460.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009085/0.556, allocations: 6.366 MB / 467.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.5572, allocations: 1.612 MB / 468.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001393/0.5586, allocations: 295.8 kB / 469.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/0.5592, allocations: 159.4 kB / 469.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5592, allocations: 0 / 469.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of Templates: time 0.05805/0.6172, allocations: 35.25 MB / 0.4927 GB, free: 15.64 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: