Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 114.5 kB / 17.73 MB, free: 5.301 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.00216/0.00216, allocations: 187 kB / 18.66 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 51.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.09424, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1914/0.2857, allocations: 10.46 MB / 385.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.297, allocations: 6.314 MB / 391.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/0.2998, allocations: 36.06 kB / 391.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.3019, allocations: 487.7 kB / 392 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.3059, allocations: 0.9004 MB / 392.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006547/0.3125, allocations: 2.497 MB / 395.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004853/0.3173, allocations: 3.474 MB / 398.8 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.3186, allocations: 0.7557 MB / 399.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.321, allocations: 1.277 MB / 400.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.3235, allocations: 1.464 MB / 402.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006746/0.3242, allocations: 328 kB / 402.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.3257, allocations: 0.5783 MB / 403.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008157/0.3265, allocations: 0.7347 MB / 404 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.3289, allocations: 1.4 MB / 405.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005565/0.3344, allocations: 3.936 MB / 409.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3345, allocations: 0 / 409.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3345, allocations: 1.438 kB / 409.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000163/0.3347, allocations: 0 / 409.3 MB, free: 9.664 MB / 334.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.009949/0.3446, allocations: 3.156 MB / 412.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3447, allocations: 9.812 kB / 412.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004579/0.3452, allocations: 280.7 kB / 412.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.346, allocations: 287.2 kB / 413 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.3486, allocations: 1.388 MB / 414.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.3488, allocations: 247.4 kB / 414.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005609/0.3494, allocations: 245.2 kB / 414.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00432/0.3537, allocations: 2.162 MB / 417 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.3538, allocations: 2.031 kB / 417 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.354, allocations: 82.38 kB / 417.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.354, allocations: 47.38 kB / 417.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.3582, allocations: 1.918 MB / 419.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.373, allocations: 7.796 MB / 426.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.3772, allocations: 2.081 MB / 429 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00329/0.3805, allocations: 1.59 MB / 430.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.3807, allocations: 25.98 kB / 430.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/0.3807, allocations: 64.5 kB / 430.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 3.907e-06/0.3807, allocations: 0 / 430.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.055/0.4358, allocations: 14.18 MB / 444.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.436, allocations: 389.8 kB / 445.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.4386, allocations: 1.51 MB / 446.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003983/0.439, allocations: 73.69 kB / 446.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007092/0.4398, allocations: 0.8369 MB / 447.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008651/0.4406, allocations: 0.883 MB / 448.5 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007337/0.4414, allocations: 408.7 kB / 448.9 MB, free: 4.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4415, allocations: 301.1 kB / 449.2 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.4438, allocations: 0.9963 MB / 450.2 MB, free: 3.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.4464, allocations: 1.256 MB / 451.5 MB, free: 2.281 MB / 366.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.03786/0.4842, allocations: 9.433 MB / 460.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4843, allocations: 0 / 460.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007601/0.4919, allocations: 2.945 MB / 463.8 MB, free: 5.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.492, allocations: 11.94 kB / 463.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.492, allocations: 8.094 kB / 463.8 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.4931, allocations: 352.8 kB / 464.2 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/0.4959, allocations: 0.5461 MB / 464.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.5067, allocations: 10.95 MB / 475.7 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.5094, allocations: 127.9 kB / 475.8 MB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004785/0.5099, allocations: 83.95 kB / 475.9 MB, free: 8.797 MB / 398.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.001382/0.5113, allocations: 468.6 kB / 476.4 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007476/0.5121, allocations: 218.7 kB / 476.6 MB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.5223, allocations: 3.473 MB / 480 MB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.5223, allocations: 28 kB / 480.1 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.5224, allocations: 4 kB / 480.1 MB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-05/0.5224, allocations: 11.95 kB / 480.1 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/0.5397, allocations: 6.266 MB / 486.3 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.5398, allocations: 4 kB / 486.4 MB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/0.542, allocations: 431.4 kB / 486.8 MB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005906/0.548, allocations: 1.194 MB / 488 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003218/0.5483, allocations: 63.97 kB / 488 MB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02437/0.5727, allocations: 18.9 MB / 0.495 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5727, allocations: 0 / 0.495 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.5854, allocations: 4.938 MB / 0.4999 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.5868, allocations: 0.5462 MB / 0.5004 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006485/0.5875, allocations: 59.98 kB / 0.5005 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/0.5898, allocations: 131.9 kB / 0.5006 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005933/0.5904, allocations: 201.7 kB / 0.5008 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.5906, allocations: 71.92 kB / 0.5008 GB, free: 2.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00177/0.5924, allocations: 1.041 MB / 0.5019 GB, free: 1.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5924, allocations: 0 / 0.5019 GB, free: 1.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003107/0.5955, allocations: 0.6913 MB / 0.5025 GB, free: 448 kB / 430.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.01265/0.6082, allocations: 5.645 MB / 0.508 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00682/0.6151, allocations: 3.364 MB / 0.5113 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.6151, allocations: 4 kB / 0.5113 GB, free: 7.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004356/0.6195, allocations: 2.605 MB / 0.5139 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.6222, allocations: 378.6 kB / 0.5142 GB, free: 4.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/0.6593, allocations: 19.55 MB / 0.5333 GB, free: 160 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.6609, allocations: 1.565 MB / 0.5349 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001422/0.6623, allocations: 291.8 kB / 0.5351 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/0.6639, allocations: 0.9093 MB / 0.536 GB, free: 13.36 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6639, allocations: 4 kB / 0.536 GB, free: 13.35 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2954/0.9593, allocations: 58.09 MB / 0.5928 GB, free: 133.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/17.92, allocations: 21.2 kB / 0.5928 GB, free: 133.1 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,capacitor1.v,capacitor2.v Variables in the result:time,capacitor1.v,capacitor2.v,pdissCopAvg.x[1],pdissCopAvg.x[2],pdissEddyAvg.x[1]