Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000838/0.0008381, allocations: 183 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 225.7 MB / 243.2 MB, free: 8.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000751/0.0007511, allocations: 98.16 kB / 294.4 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00021/0.00021, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1817, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.006596/0.1884, allocations: 9.288 MB / 413.9 MB, free: 22.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009298/0.1977, allocations: 8.394 MB / 422.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1988, allocations: 35.81 kB / 422.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.1996, allocations: 385.4 kB / 422.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.2011, allocations: 0.7879 MB / 423.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.2047, allocations: 2.024 MB / 425.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.2071, allocations: 3.375 MB / 428.9 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006578/0.2078, allocations: 0.6425 MB / 429.5 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/0.2088, allocations: 1.07 MB / 430.6 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009907/0.2098, allocations: 1.299 MB / 431.9 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.21, allocations: 148 kB / 432 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.2107, allocations: 387.6 kB / 432.4 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.211, allocations: 0.5486 MB / 433 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.2118, allocations: 1.233 MB / 434.2 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.2143, allocations: 3.651 MB / 437.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2144, allocations: 0 / 437.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2144, allocations: 0 / 437.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.605e-05/0.2144, allocations: 0 / 437.8 MB, free: 13.55 MB / 314.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.005557/0.22, allocations: 2.643 MB / 440.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.22, allocations: 12.03 kB / 440.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.2204, allocations: 277.7 kB / 440.8 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.2222, allocations: 1.358 MB / 442.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.2224, allocations: 237.5 kB / 442.4 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000481/0.2228, allocations: 247.9 kB / 442.6 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.2264, allocations: 2.165 MB / 444.8 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.2264, allocations: 4 kB / 444.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.2266, allocations: 80 kB / 444.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.2266, allocations: 48 kB / 444.9 MB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.2304, allocations: 1.943 MB / 446.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.2418, allocations: 7.892 MB / 454.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.2452, allocations: 2.104 MB / 456.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.2471, allocations: 1.243 MB / 458.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/0.2472, allocations: 37.92 kB / 458.1 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.2473, allocations: 68.48 kB / 458.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=208): time 3.407e-06/0.2473, allocations: 0 / 458.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.04743/0.2947, allocations: 14.78 MB / 473 MB, free: 9.738 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.295, allocations: 397.8 kB / 473.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.297, allocations: 1.498 MB / 474.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.2972, allocations: 73.7 kB / 474.9 MB, free: 7.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005694/0.2978, allocations: 0.8197 MB / 475.7 MB, free: 6.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006641/0.2985, allocations: 0.8315 MB / 476.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2986, allocations: 52 kB / 476.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2988, allocations: 394.7 kB / 477 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.3008, allocations: 1.016 MB / 478 MB, free: 4.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.3029, allocations: 1.272 MB / 479.3 MB, free: 3.207 MB / 346.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.03163/0.3346, allocations: 9.718 MB / 489 MB, free: 9.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3346, allocations: 4 kB / 489 MB, free: 9.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005507/0.3401, allocations: 2.971 MB / 492 MB, free: 6.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3401, allocations: 7.984 kB / 492 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.3402, allocations: 4 kB / 492 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009256/0.3411, allocations: 360.9 kB / 492.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.3436, allocations: 0.5657 MB / 492.9 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008476/0.3521, allocations: 10.02 MB / 0.4911 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.354, allocations: 143.9 kB / 0.4913 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.3542, allocations: 83.95 kB / 0.4914 GB, free: 10.32 MB / 378.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: 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 (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.0009639/0.3552, allocations: 472.3 kB / 0.4918 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.3557, allocations: 213.4 kB / 0.492 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008299/0.364, allocations: 3.535 MB / 0.4955 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.364, allocations: 24 kB / 0.4955 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.364, allocations: 4 kB / 0.4955 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.364, allocations: 15.95 kB / 0.4955 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1702/0.5342, allocations: 6.267 MB / 0.5016 GB, free: 94.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/0.5343, allocations: 2.875 kB / 0.5016 GB, free: 94.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002346/0.5366, allocations: 431.2 kB / 0.502 GB, free: 94.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006277/0.5429, allocations: 1.26 MB / 0.5033 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004651/0.5434, allocations: 57.75 kB / 0.5033 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/0.5604, allocations: 17.42 MB / 0.5203 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5604, allocations: 1.375 kB / 0.5203 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009798/0.5702, allocations: 5.009 MB / 0.5252 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.5713, allocations: 0.5228 MB / 0.5257 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/0.5718, allocations: 58.56 kB / 0.5258 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/0.5738, allocations: 153.4 kB / 0.5259 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005103/0.5743, allocations: 205.3 kB / 0.5261 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/0.5745, allocations: 73.25 kB / 0.5262 GB, free: 78.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001316/0.5758, allocations: 1.028 MB / 0.5272 GB, free: 77.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5758, allocations: 0 / 0.5272 GB, free: 77.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002728/0.5785, allocations: 0.6975 MB / 0.5279 GB, free: 77.35 MB / 378.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 (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.000486/0.579, allocations: 267 kB / 0.5282 GB, free: 77.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004858/0.5839, allocations: 3.407 MB / 0.5315 GB, free: 73.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5839, allocations: 11.22 kB / 0.5315 GB, free: 73.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.5871, allocations: 2.627 MB / 0.5341 GB, free: 70.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.5894, allocations: 360.9 kB / 0.5344 GB, free: 70.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.5974, allocations: 6.597 MB / 0.5408 GB, free: 63.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/0.5982, allocations: 1.557 MB / 0.5424 GB, free: 62.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00132/0.5995, allocations: 291.9 kB / 0.5426 GB, free: 62.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/0.6001, allocations: 163.3 kB / 0.5428 GB, free: 61.88 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6001, allocations: 0 / 0.5428 GB, free: 61.88 MB / 378.7 MB Notification: Performance of Templates: time 0.04622/0.6463, allocations: 36.53 MB / 0.5785 GB, free: 25.5 MB / 378.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/jenkins/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