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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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="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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009502/0.0009503, allocations: 95.36 kB / 16.65 MB, free: 6.59 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.001231/0.001231, allocations: 180.7 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8 kB / 301.4 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 50.42 MB / 351.9 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009418/0.1188, allocations: 9.914 MB / 361.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.1302, allocations: 6.596 MB / 368.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.1329, allocations: 39.81 kB / 368.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.1349, allocations: 389.3 kB / 368.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.1381, allocations: 0.784 MB / 369.6 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1628/0.3009, allocations: 2.021 MB / 371.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004457/0.3054, allocations: 3.376 MB / 375 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.3064, allocations: 0.6434 MB / 375.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.3084, allocations: 1.064 MB / 376.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.3104, allocations: 1.304 MB / 378 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004348/0.3108, allocations: 147.9 kB / 378.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.3119, allocations: 393.7 kB / 378.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.3125, allocations: 0.5486 MB / 379 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.3141, allocations: 1.237 MB / 380.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004565/0.3186, allocations: 3.658 MB / 383.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3187, allocations: 3.375 kB / 383.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3187, allocations: 1.125 kB / 383.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.612e-05/0.3188, allocations: 2.531 kB / 384 MB, free: 8.957 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.006976/0.3258, allocations: 2.647 MB / 386.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3258, allocations: 8.719 kB / 386.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005972/0.3264, allocations: 273.5 kB / 386.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.3285, allocations: 1.357 MB / 388.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.3287, allocations: 244.7 kB / 388.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005345/0.3292, allocations: 239.9 kB / 388.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003984/0.3332, allocations: 2.186 MB / 390.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.122e-05/0.3333, allocations: 0 / 390.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.3335, allocations: 79.44 kB / 391 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.3335, allocations: 46.84 kB / 391 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/0.3374, allocations: 1.958 MB / 393 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.3491, allocations: 7.892 MB / 400.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.3526, allocations: 2.114 MB / 403 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.3548, allocations: 1.243 MB / 404.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-05/0.3549, allocations: 40.81 kB / 404.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.355, allocations: 64.5 kB / 404.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.837e-06/0.355, allocations: 0 / 404.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05502/0.41, allocations: 14.8 MB / 419.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.4102, allocations: 393.8 kB / 419.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.4126, allocations: 1.506 MB / 421 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002605/0.4128, allocations: 73.7 kB / 421.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00058/0.4134, allocations: 0.8231 MB / 421.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006965/0.4141, allocations: 0.8319 MB / 422.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.4144, allocations: 198.5 kB / 422.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.4145, allocations: 305.1 kB / 423.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.4167, allocations: 1.024 MB / 424.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.4191, allocations: 1.286 MB / 425.5 MB, free: 5.766 MB / 334.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.03538/0.4545, allocations: 9.706 MB / 435.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.4545, allocations: 0 / 435.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006296/0.4608, allocations: 3 MB / 438.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4609, allocations: 4 kB / 438.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.4609, allocations: 12 kB / 438.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009917/0.4619, allocations: 363.2 kB / 438.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.4646, allocations: 0.5618 MB / 439.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009149/0.4738, allocations: 10.04 MB / 449.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/0.4772, allocations: 145 kB / 449.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005652/0.4778, allocations: 83.95 kB / 449.4 MB, free: 12.9 MB / 366.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.winding13.i = transformer.I1Start[3] transformer.winding12.i = transformer.I1Start[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 (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.001623/0.4794, allocations: 464.7 kB / 449.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007578/0.4802, allocations: 209.6 kB / 450.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009135/0.4893, allocations: 3.557 MB / 453.7 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.4893, allocations: 31.94 kB / 453.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4894, allocations: 8.406 kB / 453.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.4894, allocations: 15.94 kB / 453.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.503, allocations: 6.286 MB / 460 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.503, allocations: 4 kB / 460 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/0.5052, allocations: 427.5 kB / 460.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006395/0.5116, allocations: 1.251 MB / 461.7 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003627/0.512, allocations: 71.97 kB / 461.7 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/0.5333, allocations: 17.41 MB / 479.2 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5334, allocations: 8.062 kB / 479.2 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.5451, allocations: 5.033 MB / 484.2 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.5465, allocations: 0.5295 MB / 484.7 MB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.5469, allocations: 59.98 kB / 484.8 MB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/0.5489, allocations: 152.3 kB / 484.9 MB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005069/0.5494, allocations: 209.7 kB / 485.1 MB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.5496, allocations: 67.98 kB / 485.2 MB, free: 7.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001442/0.551, allocations: 1.041 MB / 486.2 MB, free: 6.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.551, allocations: 3.938 kB / 486.2 MB, free: 6.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00266/0.5537, allocations: 0.6953 MB / 486.9 MB, free: 5.871 MB / 398.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 (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.0005568/0.5542, allocations: 262 kB / 487.2 MB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006091/0.5603, allocations: 3.426 MB / 490.6 MB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.5604, allocations: 4 kB / 490.6 MB, free: 2.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004115/0.5645, allocations: 2.639 MB / 493.3 MB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.5671, allocations: 361.6 kB / 493.6 MB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.5777, allocations: 6.601 MB / 0.4885 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.5791, allocations: 1.565 MB / 0.49 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001701/0.5809, allocations: 295.8 kB / 0.4903 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006199/0.5815, allocations: 159.3 kB / 0.4905 GB, free: 6.246 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5815, allocations: 0 / 0.4905 GB, free: 6.246 MB / 414.1 MB Notification: Performance of Templates: time 0.06073/0.6422, allocations: 36.52 MB / 0.5261 GB, free: 2.02 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches