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.00111/0.00111, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001154/0.001154, allocations: 191 kB / 18.63 MB, free: 4.375 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.377/1.377, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009504/0.0009504, allocations: 48.23 kB / 302.1 MB, free: 5.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.08155, allocations: 49.45 MB / 351.5 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01013/0.09172, allocations: 10.55 MB / 362.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009837/0.1016, allocations: 6.282 MB / 368.3 MB, free: 2.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.1033, allocations: 39.81 kB / 368.4 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.1045, allocations: 487.9 kB / 368.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.107, allocations: 0.8959 MB / 369.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1524/0.2594, allocations: 2.502 MB / 372.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004458/0.2639, allocations: 3.466 MB / 375.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.265, allocations: 0.7486 MB / 376.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.2668, allocations: 1.273 MB / 377.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.2686, allocations: 1.47 MB / 379.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.2691, allocations: 327.8 kB / 379.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.2701, allocations: 0.5752 MB / 380.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.2707, allocations: 0.7339 MB / 380.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.272, allocations: 1.401 MB / 382.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.2756, allocations: 3.921 MB / 386.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2756, allocations: 1.25 kB / 386.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2756, allocations: 0 / 386.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.169e-05/0.2757, allocations: 0 / 386.2 MB, free: 7.855 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.007342/0.283, allocations: 3.081 MB / 389.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2831, allocations: 10.28 kB / 389.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005562/0.2836, allocations: 277.3 kB / 389.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.2857, allocations: 1.374 MB / 390.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.2859, allocations: 247.9 kB / 391.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/0.2864, allocations: 242 kB / 391.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/0.2897, allocations: 2.167 MB / 393.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.2897, allocations: 4.938 kB / 393.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.2899, allocations: 79.25 kB / 393.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.2899, allocations: 51.61 kB / 393.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.2935, allocations: 1.918 MB / 395.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.3043, allocations: 7.778 MB / 403.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.3077, allocations: 2.072 MB / 405.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.3097, allocations: 1.237 MB / 406.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.3098, allocations: 28.95 kB / 406.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.3099, allocations: 70.73 kB / 406.8 MB, free: 8.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 6.102e-06/0.3099, allocations: 4 kB / 406.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05325/0.3632, allocations: 14.05 MB / 420.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.3634, allocations: 393.3 kB / 421.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.3658, allocations: 1.51 MB / 422.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.3662, allocations: 73.7 kB / 422.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005941/0.3668, allocations: 0.8191 MB / 423.6 MB, free: 7.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/0.3676, allocations: 0.8316 MB / 424.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007956/0.3684, allocations: 415.7 kB / 424.9 MB, free: 6.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.3685, allocations: 313 kB / 425.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.3706, allocations: 0.9846 MB / 426.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.3729, allocations: 1.254 MB / 427.4 MB, free: 3.805 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.03391/0.4069, allocations: 9.373 MB / 436.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.4069, allocations: 4 kB / 436.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006185/0.4131, allocations: 2.935 MB / 439.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4131, allocations: 11.94 kB / 439.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.4132, allocations: 4 kB / 439.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/0.4141, allocations: 366.8 kB / 440.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.4168, allocations: 0.5412 MB / 440.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0091/0.4259, allocations: 11.11 MB / 451.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.4283, allocations: 131.9 kB / 451.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003593/0.4287, allocations: 79.97 kB / 452 MB, free: 10.39 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 system: 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.001301/0.43, allocations: 474.7 kB / 452.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006873/0.4307, allocations: 201.6 kB / 452.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/0.4392, allocations: 3.449 MB / 456.1 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.4393, allocations: 28 kB / 456.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.4393, allocations: 7.938 kB / 456.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.4393, allocations: 11.95 kB / 456.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.4528, allocations: 6.163 MB / 462.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.4528, allocations: 0 / 462.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/0.4549, allocations: 423.4 kB / 462.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005651/0.4606, allocations: 1.213 MB / 463.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.4608, allocations: 67.91 kB / 464 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/0.4826, allocations: 19.01 MB / 483 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4826, allocations: 3.938 kB / 483 MB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.4939, allocations: 4.908 MB / 487.9 MB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.4956, allocations: 0.5294 MB / 488.4 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006482/0.4962, allocations: 63.94 kB / 488.5 MB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/0.4986, allocations: 135.9 kB / 488.6 MB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006301/0.4993, allocations: 197.8 kB / 488.8 MB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/0.4995, allocations: 76.03 kB / 488.9 MB, free: 3.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001852/0.5013, allocations: 1.037 MB / 489.9 MB, free: 2.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5013, allocations: 0 / 489.9 MB, free: 2.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003425/0.5048, allocations: 0.6953 MB / 490.6 MB, free: 2.18 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.0008096/0.5056, allocations: 260.4 kB / 490.9 MB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006292/0.5119, allocations: 3.359 MB / 494.2 MB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.5119, allocations: 4.375 kB / 494.2 MB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004067/0.516, allocations: 2.616 MB / 496.8 MB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.5189, allocations: 391.2 kB / 497.2 MB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.5292, allocations: 5.272 MB / 0.4907 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.5309, allocations: 1.561 MB / 0.4922 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001821/0.5327, allocations: 295.8 kB / 0.4925 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008773/0.5336, allocations: 167.3 kB / 0.4927 GB, free: 3.969 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5336, allocations: 0 / 0.4927 GB, free: 3.969 MB / 414.1 MB Notification: Performance of Templates: time 0.2159/0.7495, allocations: 39.28 MB / 0.531 GB, free: 150.8 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 -s gbode -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","/var/lib/jenkins1/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