Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",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.001336/0.001336, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001493/0.001494, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.364/1.364, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001245/0.001245, allocations: 51.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09496, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.211/0.306, allocations: 6.807 MB / 381.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.3105, allocations: 2.342 MB / 383.8 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.3117, allocations: 43.78 kB / 383.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.313, allocations: 459.4 kB / 384.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.3155, allocations: 0.6875 MB / 385 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.3162, allocations: 285.5 kB / 385.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.3197, allocations: 2.908 MB / 388.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.3227, allocations: 2.456 MB / 390.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.326, allocations: 1.315 MB / 391.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/0.3293, allocations: 1.53 MB / 393.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007829/0.3301, allocations: 354.1 kB / 393.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.3316, allocations: 428.8 kB / 394.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.3327, allocations: 0.893 MB / 395.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.336, allocations: 1.526 MB / 396.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00678/0.3428, allocations: 4.63 MB / 401.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3429, allocations: 0 / 401.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3429, allocations: 0 / 401.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001482/0.343, allocations: 0 / 401.3 MB, free: 0.6367 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008106/0.3511, allocations: 3.021 MB / 404.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3512, allocations: 9.094 kB / 404.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005633/0.3518, allocations: 325.8 kB / 404.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009545/0.3527, allocations: 333.8 kB / 405 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.3558, allocations: 1.526 MB / 406.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.356, allocations: 164 kB / 406.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/0.3563, allocations: 210.6 kB / 406.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005923/0.3623, allocations: 3.176 MB / 410 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.3623, allocations: 7.875 kB / 410 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.3626, allocations: 91.2 kB / 410.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.3627, allocations: 110.6 kB / 410.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004394/0.3671, allocations: 2.728 MB / 413 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.3806, allocations: 8.797 MB / 421.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.384, allocations: 3.382 MB / 425.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/0.3858, allocations: 1.327 MB / 426.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.386, allocations: 122.4 kB / 426.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.3861, allocations: 51.88 kB / 426.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 2.926e-06/0.3861, allocations: 0 / 426.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01067/0.3968, allocations: 5.667 MB / 432.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3968, allocations: 68.72 kB / 432.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.399, allocations: 1.49 MB / 433.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.3991, allocations: 49.7 kB / 433.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.3999, allocations: 0.9588 MB / 434.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.4003, allocations: 472 kB / 435.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/0.4006, allocations: 214.9 kB / 435.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4008, allocations: 361.9 kB / 435.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4018, allocations: 0.6896 MB / 436.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.4029, allocations: 0.8715 MB / 437.5 MB, free: 120 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.405, allocations: 1.605 MB / 439.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.405, allocations: 4 kB / 439.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003608/0.4086, allocations: 2.314 MB / 441.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4087, allocations: 11.91 kB / 441.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.4087, allocations: 8.031 kB / 441.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.4112, allocations: 0.8227 MB / 442.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.4119, allocations: 211.6 kB / 442.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.4231, allocations: 11.5 MB / 453.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4243, allocations: 63.78 kB / 454 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.4245, allocations: 44 kB / 454 MB, free: 14.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,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.001315/0.4258, allocations: 0.8214 MB / 454.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.4261, allocations: 167 kB / 455 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/0.4296, allocations: 2.273 MB / 457.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.4297, allocations: 12 kB / 457.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4297, allocations: 4 kB / 457.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4297, allocations: 7.969 kB / 457.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007347/0.437, allocations: 4.723 MB / 462 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4371, allocations: 0 / 462 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.4377, allocations: 155.8 kB / 462.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/0.4402, allocations: 0.8036 MB / 463 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-05/0.4403, allocations: 39.92 kB / 463 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.4521, allocations: 11.38 MB / 474.4 MB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.4521, allocations: 8 kB / 474.4 MB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/0.4571, allocations: 3.244 MB / 477.7 MB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.4583, allocations: 408 kB / 478.1 MB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.4585, allocations: 31.98 kB / 478.1 MB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/0.4593, allocations: 63.95 kB / 478.2 MB, free: 6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.4596, allocations: 125.1 kB / 478.3 MB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/0.4597, allocations: 35.98 kB / 478.3 MB, free: 5.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001418/0.4611, allocations: 1.052 MB / 479.4 MB, free: 4.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4611, allocations: 0 / 479.4 MB, free: 4.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001859/0.463, allocations: 0.5156 MB / 479.9 MB, free: 4.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00515/0.4682, allocations: 3.896 MB / 483.8 MB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.4719, allocations: 2.42 MB / 486.2 MB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.4719, allocations: 0 / 486.2 MB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.4742, allocations: 1.648 MB / 487.8 MB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.4766, allocations: 0.5079 MB / 488.4 MB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/0.5041, allocations: 17.64 MB / 0.4941 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.5058, allocations: 2.047 MB / 0.4961 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009568/0.5068, allocations: 309.5 kB / 0.4964 GB, free: 7.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/0.5077, allocations: 0.7766 MB / 0.4972 GB, free: 6.508 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5077, allocations: 0 / 0.4972 GB, free: 6.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09717/0.6049, allocations: 50.56 MB / 0.5466 GB, free: 3.812 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.91, allocations: 11.84 kB / 0.5466 GB, free: 3.801 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_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_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable transformer1.l2sigma.inductor[1].i in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv failed! " Variables in the reference:time,cDC1.v,cDC2.v,transformer1.l2sigma.inductor[1].i,transformer1.l2sigma.inductor[3].i Variables in the result:time,cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i