Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.001799/0.001799, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.00262/0.002621, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.319/1.319, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001399/0.001399, allocations: 55.92 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09175, allocations: 46.62 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.1938/0.2856, allocations: 10.64 MB / 385.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006067/0.2917, allocations: 3.277 MB / 388.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.2933, allocations: 71.28 kB / 388.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.2949, allocations: 0.7274 MB / 389.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.2978, allocations: 1.176 MB / 390.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009659/0.2988, allocations: 498.2 kB / 391.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005346/0.3041, allocations: 5.286 MB / 396.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004364/0.3085, allocations: 4.11 MB / 400.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005114/0.3136, allocations: 2.399 MB / 402.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005777/0.3194, allocations: 2.748 MB / 405.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.321, allocations: 0.6223 MB / 406.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3233, allocations: 0.7037 MB / 406.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.3251, allocations: 1.631 MB / 408.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004531/0.3297, allocations: 2.764 MB / 411.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009047/0.3387, allocations: 8.43 MB / 419.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3388, allocations: 4 kB / 419.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3388, allocations: 4 kB / 419.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001791/0.339, allocations: 0 / 419.8 MB, free: 2.742 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01003/0.349, allocations: 5.199 MB / 425 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3491, allocations: 8.031 kB / 425 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007582/0.3498, allocations: 0.5567 MB / 425.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.3513, allocations: 0.572 MB / 426.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/0.3558, allocations: 2.637 MB / 428.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3561, allocations: 291.8 kB / 429 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007067/0.3568, allocations: 395.9 kB / 429.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.369, allocations: 5.793 MB / 435.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.448e-05/0.3691, allocations: 0 / 435.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.3695, allocations: 164 kB / 435.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/0.3698, allocations: 204 kB / 435.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008794/0.3786, allocations: 5.016 MB / 440.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/0.4033, allocations: 16.23 MB / 456.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006196/0.4095, allocations: 6.801 MB / 463.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/0.413, allocations: 2.626 MB / 466.2 MB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.4133, allocations: 147.1 kB / 466.4 MB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.4133, allocations: 56.56 kB / 466.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 4.328e-06/0.4133, allocations: 0 / 466.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.01953/0.4329, allocations: 10.76 MB / 477.2 MB, free: 7.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.433, allocations: 77.42 kB / 477.3 MB, free: 7.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00454/0.4375, allocations: 2.636 MB / 479.9 MB, free: 5.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002905/0.4378, allocations: 73.64 kB / 480 MB, free: 5.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.4391, allocations: 1.671 MB / 481.6 MB, free: 3.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000875/0.44, allocations: 0.8908 MB / 482.5 MB, free: 2.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008056/0.4408, allocations: 412.7 kB / 482.9 MB, free: 2.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4409, allocations: 305.1 kB / 483.2 MB, free: 1.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.4429, allocations: 1.34 MB / 484.6 MB, free: 484 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.4453, allocations: 1.654 MB / 486.2 MB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/0.4496, allocations: 3.076 MB / 489.3 MB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.4496, allocations: 0 / 489.3 MB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007389/0.457, allocations: 4.47 MB / 493.8 MB, free: 6.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.4571, allocations: 12.06 kB / 493.8 MB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.4571, allocations: 4 kB / 493.8 MB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/0.4622, allocations: 1.647 MB / 495.4 MB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.4638, allocations: 387.5 kB / 495.8 MB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02667/0.4904, allocations: 25.74 MB / 0.5093 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.4926, allocations: 99.94 kB / 0.5094 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/0.4929, allocations: 76 kB / 0.5095 GB, free: 9.594 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002463/0.4954, allocations: 1.415 MB / 0.5109 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007758/0.4961, allocations: 314 kB / 0.5112 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007456/0.5036, allocations: 4.376 MB / 0.5155 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.5037, allocations: 24 kB / 0.5155 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/0.5037, allocations: 11.94 kB / 0.5155 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.5037, allocations: 11.95 kB / 0.5155 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.5196, allocations: 8.777 MB / 0.5241 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.5196, allocations: 0 / 0.5241 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.5208, allocations: 291.7 kB / 0.5244 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004821/0.5256, allocations: 1.62 MB / 0.5259 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/0.5259, allocations: 63.98 kB / 0.526 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2139/0.7398, allocations: 25.51 MB / 0.5509 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7399, allocations: 0 / 0.5509 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009019/0.7489, allocations: 6.106 MB / 0.5569 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/0.7505, allocations: 0.6888 MB / 0.5575 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/0.7509, allocations: 57.45 kB / 0.5576 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.7523, allocations: 120.1 kB / 0.5577 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005826/0.7529, allocations: 212.5 kB / 0.5579 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.753, allocations: 68.23 kB / 0.558 GB, free: 143.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002541/0.7556, allocations: 1.85 MB / 0.5598 GB, free: 142.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.7556, allocations: 3.219 kB / 0.5598 GB, free: 142.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003439/0.759, allocations: 0.9572 MB / 0.5607 GB, free: 142.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00885/0.7679, allocations: 6.794 MB / 0.5674 GB, free: 139.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00636/0.7743, allocations: 4.889 MB / 0.5721 GB, free: 137.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7743, allocations: 0 / 0.5721 GB, free: 137.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003932/0.7782, allocations: 3.373 MB / 0.5754 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/0.7818, allocations: 0.9599 MB / 0.5764 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03862/0.8204, allocations: 32.01 MB / 0.6076 GB, free: 110.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/0.8229, allocations: 3.173 MB / 0.6107 GB, free: 106.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001615/0.8245, allocations: 0.5674 MB / 0.6113 GB, free: 106.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/0.8259, allocations: 1.468 MB / 0.6127 GB, free: 104.9 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.8259, allocations: 0 / 0.6127 GB, free: 104.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1855/1.011, allocations: 91.22 MB / 0.7018 GB, free: 13.51 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/18.51, allocations: 15.3 kB / 0.7018 GB, free: 13.5 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches