Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 177.6 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007362/0.0007363, allocations: 98.52 kB / 272.1 MB, free: 8.102 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.0002523, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2122, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.008814/0.2211, allocations: 9.23 MB / 385.8 MB, free: 38.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.2321, allocations: 8.4 MB / 394.2 MB, free: 30.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.2343, allocations: 39.81 kB / 394.3 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.2359, allocations: 385.4 kB / 394.7 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.2389, allocations: 0.784 MB / 395.4 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005554/0.2445, allocations: 2.041 MB / 397.5 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004002/0.2485, allocations: 3.374 MB / 400.9 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.2497, allocations: 0.6541 MB / 401.5 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.2515, allocations: 1.066 MB / 402.6 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.2534, allocations: 1.299 MB / 403.9 MB, free: 20.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008023/0.2542, allocations: 148 kB / 404 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.2557, allocations: 387.6 kB / 404.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009391/0.2567, allocations: 0.5446 MB / 404.9 MB, free: 19.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.2584, allocations: 1.237 MB / 406.2 MB, free: 18.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.2618, allocations: 3.662 MB / 409.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2618, allocations: 0 / 409.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2619, allocations: 0 / 409.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001267/0.262, allocations: 0 / 409.8 MB, free: 14.73 MB / 298.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.006833/0.2688, allocations: 2.639 MB / 412.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2689, allocations: 8.031 kB / 412.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008777/0.2698, allocations: 273.8 kB / 412.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.2721, allocations: 1.354 MB / 414.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.2722, allocations: 245.5 kB / 414.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004819/0.2727, allocations: 236 kB / 414.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/0.2761, allocations: 2.169 MB / 416.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.2761, allocations: 3.906 kB / 416.7 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.2763, allocations: 87.94 kB / 416.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.2763, allocations: 48 kB / 416.9 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003309/0.2797, allocations: 1.947 MB / 418.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.2903, allocations: 7.892 MB / 426.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.2938, allocations: 2.104 MB / 428.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.2958, allocations: 1.243 MB / 430.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.813e-05/0.296, allocations: 33.92 kB / 430.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/0.296, allocations: 64.48 kB / 430.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of pre-optimization done (n=208): time 4.078e-06/0.296, allocations: 0 / 430.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=250): time 0.05075/0.3468, allocations: 14.78 MB / 444.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002233/0.3471, allocations: 397.8 kB / 445.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/0.3498, allocations: 1.498 MB / 446.8 MB, free: 8.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004281/0.3503, allocations: 73.7 kB / 446.9 MB, free: 8.879 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006682/0.351, allocations: 0.8197 MB / 447.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008814/0.3519, allocations: 0.8354 MB / 448.6 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.3521, allocations: 44 kB / 448.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3523, allocations: 394.7 kB / 449 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.3546, allocations: 1.016 MB / 450 MB, free: 5.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.357, allocations: 1.284 MB / 451.3 MB, free: 4.398 MB / 330.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.03546/0.3925, allocations: 9.718 MB / 461 MB, free: 10.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3926, allocations: 0 / 461 MB, free: 10.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006801/0.3994, allocations: 2.967 MB / 464 MB, free: 7.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.3994, allocations: 11.98 kB / 464 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.3995, allocations: 4 kB / 464 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4005, allocations: 360.9 kB / 464.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.4034, allocations: 0.5618 MB / 464.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008972/0.4124, allocations: 10.03 MB / 474.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.4147, allocations: 140.5 kB / 475.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004311/0.4152, allocations: 87.95 kB / 475.2 MB, free: 11.52 MB / 362.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.001341/0.4166, allocations: 463 kB / 475.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006711/0.4172, allocations: 209.4 kB / 475.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009235/0.4265, allocations: 3.535 MB / 479.3 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/0.4265, allocations: 28 kB / 479.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.4266, allocations: 7.938 kB / 479.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.792e-05/0.4266, allocations: 12.08 kB / 479.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.4412, allocations: 6.286 MB / 485.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/0.4413, allocations: 0 / 485.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/0.4434, allocations: 427.4 kB / 486.1 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006117/0.4496, allocations: 1.252 MB / 487.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003617/0.45, allocations: 59.98 kB / 487.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1842/0.6342, allocations: 17.41 MB / 0.493 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6343, allocations: 1.531 kB / 0.493 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.6455, allocations: 5.009 MB / 0.4979 GB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.6466, allocations: 0.5243 MB / 0.4984 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/0.6471, allocations: 56.2 kB / 0.4984 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/0.6492, allocations: 154.6 kB / 0.4986 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005552/0.6497, allocations: 206.4 kB / 0.4988 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.6499, allocations: 72.19 kB / 0.4989 GB, free: 104 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001609/0.6516, allocations: 1.027 MB / 0.4999 GB, free: 103.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6516, allocations: 3.938 kB / 0.4999 GB, free: 103.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00292/0.6545, allocations: 0.6947 MB / 0.5005 GB, free: 103.5 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.0005823/0.6551, allocations: 257.5 kB / 0.5008 GB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005504/0.6606, allocations: 3.41 MB / 0.5041 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6606, allocations: 0 / 0.5041 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003426/0.6641, allocations: 2.638 MB / 0.5067 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.6668, allocations: 367.3 kB / 0.507 GB, free: 99.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008449/0.6753, allocations: 6.586 MB / 0.5135 GB, free: 94.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/0.6763, allocations: 1.573 MB / 0.515 GB, free: 92.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001598/0.6779, allocations: 288.7 kB / 0.5153 GB, free: 92.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007166/0.6786, allocations: 163.3 kB / 0.5154 GB, free: 92.08 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6786, allocations: 0 / 0.5154 GB, free: 92.08 MB / 378.7 MB Notification: Performance of Templates: time 0.05007/0.7287, allocations: 36.53 MB / 0.5511 GB, free: 55.64 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches