Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009241/0.0009242, allocations: 175.7 kB / 17.39 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 241.4 MB, free: 9.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000841/0.0008411, allocations: 97.47 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002984, allocations: 15.94 kB / 352.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 50.39 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.4699, allocations: 114.8 MB / 0.5055 GB, free: 98.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4702, allocations: 87.78 kB / 0.5055 GB, free: 98.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1294/0.5996, allocations: 54.13 MB / 0.5584 GB, free: 56.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5996, allocations: 0 / 0.5584 GB, free: 56.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001777/0.5998, allocations: 59.94 kB / 0.5585 GB, free: 56.48 MB / 378.7 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.006441/0.6063, allocations: 2.577 MB / 0.561 GB, free: 53.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6063, allocations: 12.03 kB / 0.561 GB, free: 53.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/0.6072, allocations: 281.6 kB / 0.5613 GB, free: 53.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.6097, allocations: 1.409 MB / 0.5626 GB, free: 52.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.61, allocations: 249.4 kB / 0.5629 GB, free: 51.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007668/0.6107, allocations: 232.4 kB / 0.5631 GB, free: 51.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/0.6152, allocations: 2.194 MB / 0.5652 GB, free: 49.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.038e-05/0.6152, allocations: 7.906 kB / 0.5652 GB, free: 49.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.6155, allocations: 88 kB / 0.5653 GB, free: 49.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.6155, allocations: 44 kB / 0.5654 GB, free: 49.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.6193, allocations: 1.924 MB / 0.5673 GB, free: 47.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.6308, allocations: 7.916 MB / 0.575 GB, free: 39.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.6339, allocations: 2.1 MB / 0.577 GB, free: 36.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.636, allocations: 1.437 MB / 0.5784 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.6362, allocations: 29.98 kB / 0.5785 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.6362, allocations: 68.44 kB / 0.5785 GB, free: 35.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 4.569e-06/0.6362, allocations: 0 / 0.5785 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04652/0.6828, allocations: 14.53 MB / 0.5927 GB, free: 20.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.6829, allocations: 401.8 kB / 0.5931 GB, free: 20.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.685, allocations: 1.494 MB / 0.5946 GB, free: 18.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003263/0.6853, allocations: 69.7 kB / 0.5946 GB, free: 18.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.6858, allocations: 0.8042 MB / 0.5954 GB, free: 17.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/0.6864, allocations: 0.8379 MB / 0.5962 GB, free: 17.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.6866, allocations: 44 kB / 0.5963 GB, free: 17.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6867, allocations: 402.6 kB / 0.5967 GB, free: 16.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.6886, allocations: 1.016 MB / 0.5976 GB, free: 15.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.6906, allocations: 1.261 MB / 0.5989 GB, free: 14.27 MB / 378.7 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.02803/0.7187, allocations: 8.532 MB / 0.6072 GB, free: 5.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.7187, allocations: 0 / 0.6072 GB, free: 5.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006357/0.7251, allocations: 2.983 MB / 0.6101 GB, free: 2.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.7252, allocations: 4 kB / 0.6101 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/0.7252, allocations: 11.94 kB / 0.6101 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.7262, allocations: 364.8 kB / 0.6105 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.7288, allocations: 0.5696 MB / 0.611 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008033/0.7368, allocations: 9.994 MB / 0.6208 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.7393, allocations: 148 kB / 0.6209 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004138/0.7397, allocations: 83.95 kB / 0.621 GB, free: 6.613 MB / 394.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.winding23.i = transformer.I2Start[1] transformer.winding21.i = transformer.I2Start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (254): * Single equations (assignments): 242 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.7411, allocations: 468.3 kB / 0.6215 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006665/0.7418, allocations: 205.6 kB / 0.6217 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008478/0.7503, allocations: 3.524 MB / 0.6251 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.7503, allocations: 24 kB / 0.6251 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.7503, allocations: 7.938 kB / 0.6251 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.7504, allocations: 19.89 kB / 0.6252 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.764, allocations: 6.379 MB / 0.6314 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.764, allocations: 3.938 kB / 0.6314 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/0.7661, allocations: 431.5 kB / 0.6318 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005881/0.772, allocations: 1.272 MB / 0.633 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003499/0.7723, allocations: 63.92 kB / 0.6331 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/0.7928, allocations: 17.4 MB / 0.6501 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7928, allocations: 4.031 kB / 0.6501 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.8057, allocations: 5.167 MB / 0.6551 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.8071, allocations: 0.5372 MB / 0.6557 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006178/0.8077, allocations: 56.06 kB / 0.6557 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/0.81, allocations: 159.9 kB / 0.6559 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006104/0.8106, allocations: 197.7 kB / 0.6561 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/0.8108, allocations: 75.97 kB / 0.6561 GB, free: 1.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.1728/0.9836, allocations: 1.03 MB / 0.6571 GB, free: 104.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9837, allocations: 0 / 0.6571 GB, free: 104.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00415/0.9878, allocations: 0.7138 MB / 0.6578 GB, free: 104.1 MB / 426.7 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 (203): * Single equations (assignments): 194 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008458/0.9887, allocations: 284.1 kB / 0.6581 GB, free: 104 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005415/0.9941, allocations: 3.424 MB / 0.6615 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.9942, allocations: 2.75 kB / 0.6615 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003392/0.9976, allocations: 2.647 MB / 0.664 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.9999, allocations: 366.4 kB / 0.6644 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008048/1.008, allocations: 6.418 MB / 0.6707 GB, free: 99.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/1.009, allocations: 1.562 MB / 0.6722 GB, free: 98.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001474/1.01, allocations: 290.1 kB / 0.6725 GB, free: 98.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/1.011, allocations: 154.5 kB / 0.6726 GB, free: 98.71 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/1.011, allocations: 3.531 kB / 0.6726 GB, free: 98.71 MB / 426.7 MB Notification: Performance of Templates: time 0.05017/1.061, allocations: 36.38 MB / 0.7081 GB, free: 88.54 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches