Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 11.98 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09657, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.432/0.5286, allocations: 87.67 MB / 396.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.5289, allocations: 85.8 kB / 396.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4817/1.011, allocations: 117.2 MB / 0.5015 GB, free: 5.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.011, allocations: 0 / 0.5015 GB, free: 5.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004832/1.011, allocations: 107.9 kB / 0.5016 GB, free: 5.883 MB / 394.7 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.01751/1.029, allocations: 4.261 MB / 0.5057 GB, free: 1.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/1.029, allocations: 8.031 kB / 0.5058 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002675/1.031, allocations: 0.5672 MB / 0.5063 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/1.034, allocations: 0.5566 MB / 0.5069 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008945/1.043, allocations: 2.737 MB / 0.5095 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/1.044, allocations: 295.8 kB / 0.5098 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/1.045, allocations: 388 kB / 0.5102 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/1.063, allocations: 5.651 MB / 0.5157 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/1.063, allocations: 11.98 kB / 0.5157 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006835/1.064, allocations: 168 kB / 0.5159 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003322/1.064, allocations: 204 kB / 0.5161 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/1.08, allocations: 4.661 MB / 0.5206 GB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3407/1.421, allocations: 16.43 MB / 0.5367 GB, free: 57.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/1.431, allocations: 6.784 MB / 0.5433 GB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/1.432, allocations: 148.2 kB / 0.5434 GB, free: 54.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/1.432, allocations: 62.95 kB / 0.5435 GB, free: 54.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 5.47e-06/1.432, allocations: 0 / 0.5435 GB, free: 54.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.03238/1.464, allocations: 10.35 MB / 0.5536 GB, free: 52.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/1.464, allocations: 78.72 kB / 0.5537 GB, free: 52.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005448/1.47, allocations: 2.357 MB / 0.556 GB, free: 52.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005897/1.47, allocations: 70.89 kB / 0.556 GB, free: 52.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.472, allocations: 1.504 MB / 0.5575 GB, free: 51.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.473, allocations: 0.8456 MB / 0.5583 GB, free: 51.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/1.473, allocations: 47.91 kB / 0.5584 GB, free: 51.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/1.473, allocations: 413.8 kB / 0.5588 GB, free: 51.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/1.476, allocations: 1.336 MB / 0.5601 GB, free: 51.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/1.481, allocations: 1.625 MB / 0.5617 GB, free: 50.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005698/1.487, allocations: 1.571 MB / 0.5632 GB, free: 50.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/1.487, allocations: 0 / 0.5632 GB, free: 50.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01552/1.502, allocations: 4.256 MB / 0.5674 GB, free: 50.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.502, allocations: 11.69 kB / 0.5674 GB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.502, allocations: 3.562 kB / 0.5674 GB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005476/1.508, allocations: 1.412 MB / 0.5688 GB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/1.511, allocations: 389.9 kB / 0.5691 GB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03155/1.542, allocations: 23.89 MB / 0.5925 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/1.546, allocations: 93.8 kB / 0.5925 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/1.546, allocations: 82.5 kB / 0.5926 GB, free: 35.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * 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 initialization (196): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003357/1.55, allocations: 1.398 MB / 0.594 GB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009806/1.551, allocations: 303.5 kB / 0.5943 GB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009946/1.56, allocations: 4.199 MB / 0.5984 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/1.561, allocations: 26.44 kB / 0.5984 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.561, allocations: 14.58 kB / 0.5984 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.772e-05/1.561, allocations: 14.67 kB / 0.5984 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/1.583, allocations: 8.927 MB / 0.6071 GB, free: 29.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.583, allocations: 3 kB / 0.6072 GB, free: 29.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/1.586, allocations: 292.2 kB / 0.6074 GB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005233/1.591, allocations: 1.378 MB / 0.6088 GB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/1.591, allocations: 66.31 kB / 0.6088 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03087/1.622, allocations: 23.63 MB / 0.6319 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.622, allocations: 5.953 kB / 0.6319 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.636, allocations: 6.166 MB / 0.6379 GB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.638, allocations: 0.6927 MB / 0.6386 GB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006391/1.638, allocations: 54.05 kB / 0.6387 GB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/1.641, allocations: 133.2 kB / 0.6388 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/1.642, allocations: 215.5 kB / 0.639 GB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002102/1.642, allocations: 70.97 kB / 0.6391 GB, free: 24.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003687/1.645, allocations: 1.839 MB / 0.6409 GB, free: 23.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.645, allocations: 3.281 kB / 0.6409 GB, free: 23.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004948/1.65, allocations: 0.9747 MB / 0.6418 GB, free: 23.24 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01448/1.665, allocations: 7.022 MB / 0.6487 GB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009888/1.675, allocations: 4.871 MB / 0.6534 GB, free: 17.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.675, allocations: 3.812 kB / 0.6534 GB, free: 17.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006919/1.682, allocations: 3.377 MB / 0.6567 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005884/1.688, allocations: 0.8917 MB / 0.6576 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3521/2.04, allocations: 29.83 MB / 0.6867 GB, free: 64.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003809/2.044, allocations: 3.171 MB / 0.6898 GB, free: 64.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002897/2.047, allocations: 1.46 MB / 0.6913 GB, free: 64.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/2.047, allocations: 6.656 kB / 0.6913 GB, free: 64.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.932/7.979, allocations: 270.6 MB / 0.9556 GB, free: 22.46 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat