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.001044/0.001044, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007864/0.0007865, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.607e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07972/0.07976, allocations: 47.56 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2797/0.3595, allocations: 91.81 MB / 461.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.3598, allocations: 82.27 kB / 462 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4582/0.818, allocations: 116.5 MB / 0.565 GB, free: 78.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.818, allocations: 0 / 0.565 GB, free: 78.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004039/0.8184, allocations: 113 kB / 0.5651 GB, free: 78.21 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.009909/0.8283, allocations: 3.814 MB / 0.5688 GB, free: 76.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.8284, allocations: 7.562 kB / 0.5688 GB, free: 76.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001154/0.8296, allocations: 0.5575 MB / 0.5694 GB, free: 76.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.8311, allocations: 0.5512 MB / 0.5699 GB, free: 76.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.8354, allocations: 2.719 MB / 0.5725 GB, free: 75.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.8356, allocations: 291.1 kB / 0.5728 GB, free: 75.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004791/0.8361, allocations: 394 kB / 0.5732 GB, free: 75.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007434/0.8435, allocations: 5.573 MB / 0.5786 GB, free: 75.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.115e-05/0.8436, allocations: 2.812 kB / 0.5786 GB, free: 75.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.844, allocations: 168.4 kB / 0.5788 GB, free: 75.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.8441, allocations: 204 kB / 0.579 GB, free: 75.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006156/0.8503, allocations: 4.544 MB / 0.5834 GB, free: 74.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/0.8724, allocations: 16.45 MB / 0.5995 GB, free: 66.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/0.8771, allocations: 6.72 MB / 0.6061 GB, free: 61.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/0.8801, allocations: 2.625 MB / 0.6086 GB, free: 60.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/0.8804, allocations: 151.5 kB / 0.6088 GB, free: 60.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.8805, allocations: 67.59 kB / 0.6088 GB, free: 60.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.208e-06/0.8805, allocations: 0 / 0.6088 GB, free: 60.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.0118/0.8923, allocations: 7.742 MB / 0.6164 GB, free: 56.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.8924, allocations: 77.7 kB / 0.6165 GB, free: 56.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.8962, allocations: 2.336 MB / 0.6188 GB, free: 54.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.8964, allocations: 69.7 kB / 0.6188 GB, free: 54.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008496/0.8972, allocations: 1.639 MB / 0.6204 GB, free: 53.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/0.8978, allocations: 0.8334 MB / 0.6212 GB, free: 52.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.8979, allocations: 56 kB / 0.6213 GB, free: 52.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.898, allocations: 397 kB / 0.6217 GB, free: 52.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.8996, allocations: 1.283 MB / 0.6229 GB, free: 50.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.9012, allocations: 1.568 MB / 0.6245 GB, free: 49.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.903, allocations: 1.524 MB / 0.6259 GB, free: 48.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.903, allocations: 0 / 0.6259 GB, free: 48.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005831/0.9088, allocations: 4.331 MB / 0.6302 GB, free: 44.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.9089, allocations: 8 kB / 0.6302 GB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.9089, allocations: 4 kB / 0.6302 GB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/0.9122, allocations: 1.405 MB / 0.6316 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.9136, allocations: 394.3 kB / 0.6319 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.9315, allocations: 23.41 MB / 0.6548 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.9337, allocations: 94.33 kB / 0.6549 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/0.9341, allocations: 76 kB / 0.655 GB, free: 19.95 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.0006277/0.9348, allocations: 235.8 kB / 0.6552 GB, free: 19.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008081/0.9356, allocations: 300.5 kB / 0.6555 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006109/0.9417, allocations: 4.08 MB / 0.6594 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.9417, allocations: 27.95 kB / 0.6595 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.9418, allocations: 8 kB / 0.6595 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.9418, allocations: 18.91 kB / 0.6595 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.9554, allocations: 8.809 MB / 0.6681 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.9554, allocations: 4.062 kB / 0.6681 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.9565, allocations: 295.6 kB / 0.6684 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/0.9593, allocations: 1.374 MB / 0.6697 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.9595, allocations: 63.91 kB / 0.6698 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.234/1.194, allocations: 23.15 MB / 0.6924 GB, free: 80.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.194, allocations: 8.125 kB / 0.6924 GB, free: 80.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009595/1.203, allocations: 5.964 MB / 0.6982 GB, free: 80.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/1.205, allocations: 0.6802 MB / 0.6989 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/1.205, allocations: 56.41 kB / 0.6989 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.207, allocations: 129 kB / 0.6991 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005543/1.207, allocations: 216.8 kB / 0.6993 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/1.208, allocations: 72.62 kB / 0.6993 GB, free: 80.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003017/1.211, allocations: 1.811 MB / 0.7011 GB, free: 80.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.211, allocations: 1.188 kB / 0.7011 GB, free: 80.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003767/1.214, allocations: 0.9714 MB / 0.7021 GB, free: 80.29 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.008143/1.223, allocations: 6.841 MB / 0.7087 GB, free: 79.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005456/1.228, allocations: 4.739 MB / 0.7134 GB, free: 78.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.228, allocations: 3.078 kB / 0.7134 GB, free: 78.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003537/1.232, allocations: 3.288 MB / 0.7166 GB, free: 76.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003866/1.235, allocations: 0.8893 MB / 0.7175 GB, free: 76.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.247, allocations: 8.295 MB / 0.7256 GB, free: 75.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002387/1.25, allocations: 3.245 MB / 0.7287 GB, free: 74.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001625/1.252, allocations: 0.5655 MB / 0.7293 GB, free: 74.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/1.253, allocations: 1.452 MB / 0.7307 GB, free: 74.57 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/1.253, allocations: 0 / 0.7307 GB, free: 74.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.362, allocations: 88.32 MB / 0.8169 GB, free: 20.28 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001284/1.362, allocations: 200.8 kB / 0.8171 GB, free: 20.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.292/5.655, allocations: 0 / 0.8171 GB, free: 20.06 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