Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008518, allocations: 79.64 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.608e-05, allocations: 4 kB / 337.1 MB, free: 9.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 50.42 MB / 387.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.328/0.4303, allocations: 91.92 MB / 479.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4305, allocations: 83.95 kB / 479.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5267/0.9572, allocations: 115.5 MB / 0.5811 GB, free: 83.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.9572, allocations: 0 / 0.5811 GB, free: 83.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002679/0.9575, allocations: 119.6 kB / 0.5812 GB, free: 83.67 MB / 426.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.008024/0.9655, allocations: 3.856 MB / 0.585 GB, free: 82.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9656, allocations: 11.16 kB / 0.585 GB, free: 82.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.9676, allocations: 0.5568 MB / 0.5855 GB, free: 81.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004821/0.9724, allocations: 2.71 MB / 0.5882 GB, free: 81.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.9725, allocations: 126.9 kB / 0.5883 GB, free: 81.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000674/0.9732, allocations: 226.7 kB / 0.5885 GB, free: 81.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00662/0.9798, allocations: 4.268 MB / 0.5927 GB, free: 81.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007665/0.9875, allocations: 4.977 MB / 0.5975 GB, free: 80.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.386e-05/0.9876, allocations: 0 / 0.5975 GB, free: 80.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.988, allocations: 6 kB / 0.5975 GB, free: 80.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.9881, allocations: 201.7 kB / 0.5977 GB, free: 80.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02176/1.01, allocations: 15.61 MB / 0.613 GB, free: 73.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004646/1.015, allocations: 6.603 MB / 0.6194 GB, free: 68.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/1.017, allocations: 2.42 MB / 0.6218 GB, free: 67.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/1.017, allocations: 150.8 kB / 0.6219 GB, free: 67.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/1.018, allocations: 72 kB / 0.622 GB, free: 67.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.028e-06/1.018, allocations: 0 / 0.622 GB, free: 67.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.01171/1.029, allocations: 7.284 MB / 0.6291 GB, free: 64.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/1.029, allocations: 79.08 kB / 0.6292 GB, free: 64.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/1.032, allocations: 1.817 MB / 0.631 GB, free: 63.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/1.032, allocations: 25.7 kB / 0.631 GB, free: 63.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.033, allocations: 1.651 MB / 0.6326 GB, free: 62.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006652/1.034, allocations: 0.8074 MB / 0.6334 GB, free: 61.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/1.034, allocations: 0 / 0.6334 GB, free: 61.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/1.034, allocations: 400.6 kB / 0.6338 GB, free: 61.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/1.036, allocations: 1.234 MB / 0.635 GB, free: 60.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/1.037, allocations: 1.51 MB / 0.6365 GB, free: 59.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/1.039, allocations: 1.472 MB / 0.6379 GB, free: 59.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.039, allocations: 0 / 0.6379 GB, free: 59.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005965/1.045, allocations: 4.063 MB / 0.6419 GB, free: 56.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/1.045, allocations: 9.094 kB / 0.6419 GB, free: 56.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/1.045, allocations: 8 kB / 0.6419 GB, free: 56.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/1.048, allocations: 1.387 MB / 0.6432 GB, free: 54.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.05, allocations: 393.1 kB / 0.6436 GB, free: 54.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/1.068, allocations: 22.56 MB / 0.6656 GB, free: 32.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/1.07, allocations: 47.27 kB / 0.6657 GB, free: 32.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/1.07, allocations: 80 kB / 0.6658 GB, free: 32.74 MB / 426.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 () * 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.0004476/1.071, allocations: 148.7 kB / 0.6659 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004841/1.076, allocations: 3.606 MB / 0.6694 GB, free: 29.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/1.076, allocations: 260.9 kB / 0.6697 GB, free: 29.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005216/1.082, allocations: 3.803 MB / 0.6734 GB, free: 25.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.082, allocations: 24 kB / 0.6734 GB, free: 25.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.082, allocations: 8 kB / 0.6734 GB, free: 25.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/1.082, allocations: 14.67 kB / 0.6734 GB, free: 25.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/1.094, allocations: 8.049 MB / 0.6813 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.094, allocations: 0 / 0.6813 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/1.095, allocations: 303.6 kB / 0.6816 GB, free: 17.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002745/1.097, allocations: 1.355 MB / 0.6829 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.098, allocations: 23.97 kB / 0.6829 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/1.117, allocations: 22.39 MB / 0.7048 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.117, allocations: 4.031 kB / 0.7048 GB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009215/1.126, allocations: 5.736 MB / 0.7104 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.128, allocations: 0.642 MB / 0.711 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/1.129, allocations: 15.98 kB / 0.711 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.13, allocations: 83.91 kB / 0.7111 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005457/1.131, allocations: 217.6 kB / 0.7113 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.131, allocations: 71.98 kB / 0.7114 GB, free: 1.949 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002455/1.133, allocations: 1.386 MB / 0.7127 GB, free: 0.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.133, allocations: 0 / 0.7127 GB, free: 0.543 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.3/1.433, allocations: 0.8594 MB / 0.7136 GB, free: 87.8 MB / 442.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 () * 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.01155/1.445, allocations: 6.57 MB / 0.72 GB, free: 86.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00742/1.452, allocations: 4.54 MB / 0.7244 GB, free: 85.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.452, allocations: 1.156 kB / 0.7244 GB, free: 85.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004778/1.457, allocations: 3.143 MB / 0.7275 GB, free: 84.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/1.462, allocations: 0.6186 MB / 0.7281 GB, free: 84.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/1.48, allocations: 8.005 MB / 0.7359 GB, free: 83.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002967/1.483, allocations: 3.248 MB / 0.7391 GB, free: 82.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00199/1.485, allocations: 0.5081 MB / 0.7396 GB, free: 82.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/1.486, allocations: 1.445 MB / 0.741 GB, free: 82.29 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/1.486, allocations: 0 / 0.741 GB, free: 82.29 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/1.606, allocations: 73.67 MB / 0.8129 GB, free: 52.55 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.607, allocations: 167 kB / 0.8131 GB, free: 52.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.107/5.714, allocations: 0 / 0.8131 GB, free: 52.36 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat