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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008803/0.0008804, allocations: 176.8 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 70.72 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.835e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08228/0.08231, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3086/0.3909, allocations: 91.4 MB / 454.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.3912, allocations: 81.86 kB / 454.7 MB, free: 3.996 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4799/0.8711, allocations: 115.1 MB / 0.5564 GB, free: 76.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.8712, allocations: 0 / 0.5564 GB, free: 76.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002848/0.8715, allocations: 117.1 kB / 0.5565 GB, free: 76.18 MB / 410.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.009512/0.881, allocations: 3.823 MB / 0.5602 GB, free: 74.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.881, allocations: 12.88 kB / 0.5603 GB, free: 74.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.883, allocations: 0.5542 MB / 0.5608 GB, free: 74.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/0.8877, allocations: 2.72 MB / 0.5635 GB, free: 73.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.8879, allocations: 127.5 kB / 0.5636 GB, free: 73.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008459/0.8887, allocations: 230.7 kB / 0.5638 GB, free: 73.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006864/0.8956, allocations: 4.291 MB / 0.568 GB, free: 73.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009773/0.9054, allocations: 5 MB / 0.5729 GB, free: 73.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.761e-05/0.9055, allocations: 3.844 kB / 0.5729 GB, free: 73.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004117/0.906, allocations: 9.766 kB / 0.5729 GB, free: 73.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/0.9062, allocations: 203.4 kB / 0.5731 GB, free: 73.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0254/0.9316, allocations: 15.62 MB / 0.5883 GB, free: 69.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/0.9361, allocations: 6.607 MB / 0.5948 GB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.9388, allocations: 2.422 MB / 0.5972 GB, free: 63.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.9391, allocations: 147.9 kB / 0.5973 GB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.9392, allocations: 67.09 kB / 0.5974 GB, free: 63.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 6.722e-06/0.9392, allocations: 0 / 0.5974 GB, free: 63.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.01176/0.951, allocations: 7.282 MB / 0.6045 GB, free: 60.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.9511, allocations: 79.64 kB / 0.6045 GB, free: 60.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.9537, allocations: 1.817 MB / 0.6063 GB, free: 59.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.9541, allocations: 25.7 kB / 0.6063 GB, free: 59.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008419/0.955, allocations: 1.651 MB / 0.608 GB, free: 58.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006824/0.9556, allocations: 0.8021 MB / 0.6087 GB, free: 57.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.9558, allocations: 0 / 0.6087 GB, free: 57.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9559, allocations: 415.7 kB / 0.6091 GB, free: 57.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.9574, allocations: 1.236 MB / 0.6103 GB, free: 56.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.959, allocations: 1.514 MB / 0.6118 GB, free: 55.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.9608, allocations: 1.471 MB / 0.6133 GB, free: 55.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.9609, allocations: 0 / 0.6133 GB, free: 55.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005856/0.9667, allocations: 4.067 MB / 0.6172 GB, free: 53.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.9668, allocations: 7.625 kB / 0.6172 GB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.9668, allocations: 10.72 kB / 0.6172 GB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.9696, allocations: 1.373 MB / 0.6186 GB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.9711, allocations: 387.7 kB / 0.619 GB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/0.9882, allocations: 22.55 MB / 0.641 GB, free: 32.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.9903, allocations: 50.2 kB / 0.641 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/0.9907, allocations: 84.17 kB / 0.6411 GB, free: 32.04 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 () * 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.0004162/0.9911, allocations: 148.2 kB / 0.6413 GB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00468/0.9958, allocations: 3.61 MB / 0.6448 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.9964, allocations: 260.9 kB / 0.645 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005193/1.002, allocations: 3.813 MB / 0.6487 GB, free: 25.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.002, allocations: 24 kB / 0.6488 GB, free: 25.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.002, allocations: 11.94 kB / 0.6488 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/1.002, allocations: 10.17 kB / 0.6488 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/1.014, allocations: 8.06 MB / 0.6567 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.014, allocations: 0 / 0.6567 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.015, allocations: 290.3 kB / 0.6569 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/1.018, allocations: 1.362 MB / 0.6583 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/1.018, allocations: 15.8 kB / 0.6583 GB, free: 17.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/1.037, allocations: 22.37 MB / 0.6801 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.037, allocations: 7.984 kB / 0.6801 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009188/1.046, allocations: 5.703 MB / 0.6857 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.048, allocations: 0.6346 MB / 0.6863 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/1.048, allocations: 19.92 kB / 0.6864 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.05, allocations: 95.7 kB / 0.6864 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004787/1.05, allocations: 217.6 kB / 0.6867 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.05, allocations: 71.92 kB / 0.6867 GB, free: 5.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00213/1.053, allocations: 1.386 MB / 0.6881 GB, free: 3.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.053, allocations: 0 / 0.6881 GB, free: 3.602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003849/1.056, allocations: 0.8594 MB / 0.6889 GB, free: 2.742 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 () * 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.2374/1.294, allocations: 6.539 MB / 0.6953 GB, free: 79.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007295/1.301, allocations: 4.547 MB / 0.6997 GB, free: 78.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.301, allocations: 4.375 kB / 0.6997 GB, free: 78.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004474/1.306, allocations: 3.143 MB / 0.7028 GB, free: 77.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/1.31, allocations: 0.6099 MB / 0.7034 GB, free: 77.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.326, allocations: 7.995 MB / 0.7112 GB, free: 76.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002562/1.328, allocations: 3.248 MB / 0.7144 GB, free: 75.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001851/1.33, allocations: 0.5029 MB / 0.7149 GB, free: 75.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/1.332, allocations: 1.443 MB / 0.7163 GB, free: 75.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.103e-06/1.332, allocations: 0 / 0.7163 GB, free: 75.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.436, allocations: 73.73 MB / 0.7883 GB, free: 48.35 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.436, allocations: 168.7 kB / 0.7885 GB, free: 48.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.126/5.562, allocations: 0 / 0.7885 GB, free: 48.16 MB / 426.7 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat