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.00123/0.001231, allocations: 111 kB / 17.74 MB, free: 5.34 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.001129/0.001129, allocations: 188.4 kB / 18.67 MB, free: 4.418 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009356/0.0009356, allocations: 47.92 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3049, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01115/0.3161, allocations: 10.56 MB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.3285, allocations: 6.274 MB / 418.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002755/0.3313, allocations: 39.88 kB / 418.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.3328, allocations: 489.1 kB / 418.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.3364, allocations: 0.9075 MB / 419.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006066/0.3425, allocations: 2.495 MB / 422.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005689/0.3482, allocations: 3.469 MB / 425.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.3498, allocations: 0.7526 MB / 426.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.3526, allocations: 1.281 MB / 427.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.3551, allocations: 1.471 MB / 429.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005126/0.3556, allocations: 328 kB / 429.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.3569, allocations: 0.5699 MB / 430 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007658/0.3577, allocations: 0.7399 MB / 430.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002188/0.3599, allocations: 1.396 MB / 432.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005147/0.365, allocations: 3.921 MB / 436.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.3651, allocations: 0 / 436.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3651, allocations: 7.938 kB / 436.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-05/0.3652, allocations: 4 kB / 436.1 MB, free: 6.016 MB / 350.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.008185/0.3734, allocations: 3.075 MB / 439.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.3734, allocations: 12.03 kB / 439.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/0.374, allocations: 273.7 kB / 439.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.3764, allocations: 1.373 MB / 440.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3766, allocations: 237.5 kB / 441.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005187/0.3771, allocations: 247.9 kB / 441.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/0.381, allocations: 2.176 MB / 443.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.3811, allocations: 7.984 kB / 443.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.3813, allocations: 84 kB / 443.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.3813, allocations: 48 kB / 443.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/0.3851, allocations: 1.916 MB / 445.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.3976, allocations: 7.771 MB / 453.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.4011, allocations: 2.085 MB / 455.4 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003103/0.4043, allocations: 1.578 MB / 457 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.4044, allocations: 37.91 kB / 457 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/0.4045, allocations: 68.5 kB / 457.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.228e-06/0.4045, allocations: 0 / 457.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05463/0.4592, allocations: 14.06 MB / 471.1 MB, free: 2.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/0.4594, allocations: 389.8 kB / 471.5 MB, free: 1.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.4623, allocations: 1.514 MB / 473 MB, free: 336 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004471/0.4628, allocations: 73.64 kB / 473.1 MB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/0.4634, allocations: 0.8197 MB / 473.9 MB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.4645, allocations: 0.8354 MB / 474.8 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.4656, allocations: 412.5 kB / 475.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.4657, allocations: 301.1 kB / 475.5 MB, free: 13.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/0.4684, allocations: 1.004 MB / 476.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/0.471, allocations: 1.26 MB / 477.7 MB, free: 11.53 MB / 398.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.03453/0.5055, allocations: 9.413 MB / 487.1 MB, free: 1.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.5056, allocations: 3.938 kB / 487.1 MB, free: 1.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007502/0.5131, allocations: 2.948 MB / 490.1 MB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.5132, allocations: 11.94 kB / 490.1 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.5132, allocations: 7.984 kB / 490.1 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.5143, allocations: 345 kB / 490.4 MB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/0.5171, allocations: 0.5422 MB / 491 MB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.5272, allocations: 10.95 MB / 0.4902 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.5301, allocations: 124 kB / 0.4903 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005604/0.5307, allocations: 83.97 kB / 0.4904 GB, free: 2.066 MB / 414.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.H[2] = transformer.HStart[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 (259): * Single equations (assignments): 247 * 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,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001791/0.5325, allocations: 473.3 kB / 0.4908 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000916/0.5334, allocations: 209.4 kB / 0.491 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009545/0.5429, allocations: 3.461 MB / 0.4944 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.543, allocations: 24 kB / 0.4944 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/0.5431, allocations: 4 kB / 0.4944 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/0.5431, allocations: 11.95 kB / 0.4944 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.5585, allocations: 6.27 MB / 0.5006 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.5585, allocations: 0 / 0.5006 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/0.5609, allocations: 427.4 kB / 0.501 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005669/0.5666, allocations: 1.209 MB / 0.5021 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000455/0.567, allocations: 55.98 kB / 0.5022 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02286/0.5899, allocations: 18.88 MB / 0.5206 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.59, allocations: 0 / 0.5206 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.6021, allocations: 4.932 MB / 0.5255 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/0.6037, allocations: 0.5295 MB / 0.526 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/0.6044, allocations: 56.06 kB / 0.526 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/0.6066, allocations: 135.9 kB / 0.5262 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006626/0.6073, allocations: 201.8 kB / 0.5263 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/0.6075, allocations: 75.91 kB / 0.5264 GB, free: 11.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.6095, allocations: 1.041 MB / 0.5274 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6095, allocations: 0 / 0.5274 GB, free: 10.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003448/0.6129, allocations: 0.6914 MB / 0.5281 GB, free: 9.754 MB / 462.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 (205): * Single equations (assignments): 196 * 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,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000775/0.6137, allocations: 261.1 kB / 0.5284 GB, free: 9.488 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006571/0.6203, allocations: 3.364 MB / 0.5316 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.6203, allocations: 4 kB / 0.5316 GB, free: 5.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00426/0.6246, allocations: 2.597 MB / 0.5342 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.6275, allocations: 386.5 kB / 0.5346 GB, free: 2.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2559/0.8835, allocations: 5.334 MB / 0.5398 GB, free: 130.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.8846, allocations: 1.563 MB / 0.5413 GB, free: 129.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.8857, allocations: 173.2 kB / 0.5415 GB, free: 129.6 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8857, allocations: 0 / 0.5415 GB, free: 129.6 MB / 462.1 MB Notification: Performance of Templates: time 0.07481/0.9606, allocations: 96.91 MB / 0.6361 GB, free: 40.87 MB / 462.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/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