Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",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.001492/0.001492, 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.327/1.327, allocations: 221.5 MB / 230.3 MB, free: 7.512 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.0008646/0.0008644, allocations: 93.61 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.793e-05, allocations: 0 / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08729, allocations: 50.42 MB / 387.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4122, allocations: 90.32 MB / 477.9 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4126, allocations: 83.95 kB / 478 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1505/0.5632, allocations: 63.05 MB / 0.5283 GB, free: 4.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5632, allocations: 0 / 0.5283 GB, free: 4.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001359/0.5633, allocations: 59.94 kB / 0.5284 GB, free: 4.691 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.004028/0.5674, allocations: 2.283 MB / 0.5306 GB, free: 2.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.5674, allocations: 11.97 kB / 0.5306 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/0.5682, allocations: 312.7 kB / 0.5309 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.5705, allocations: 1.568 MB / 0.5325 GB, free: 416 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/0.5706, allocations: 68.34 kB / 0.5325 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.5709, allocations: 135.9 kB / 0.5327 GB, free: 212 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003368/0.5742, allocations: 2.305 MB / 0.5349 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003986/0.5782, allocations: 2.707 MB / 0.5376 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.5783, allocations: 3.938 kB / 0.5376 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.5785, allocations: 4 kB / 0.5376 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.5786, allocations: 116.4 kB / 0.5377 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.5926, allocations: 8.433 MB / 0.5459 GB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2418/0.8345, allocations: 3.256 MB / 0.5491 GB, free: 96.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.8369, allocations: 1.214 MB / 0.5503 GB, free: 96.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.8374, allocations: 139 kB / 0.5504 GB, free: 96.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.8374, allocations: 50.7 kB / 0.5505 GB, free: 96.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 3.707e-06/0.8374, allocations: 0 / 0.5505 GB, free: 96.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.008418/0.8458, allocations: 3.865 MB / 0.5542 GB, free: 95.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8459, allocations: 68.3 kB / 0.5543 GB, free: 95.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.8479, allocations: 1.057 MB / 0.5553 GB, free: 95.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.848, allocations: 25.7 kB / 0.5554 GB, free: 95.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000718/0.8487, allocations: 0.9479 MB / 0.5563 GB, free: 95.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.8491, allocations: 424.9 kB / 0.5567 GB, free: 94.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.8492, allocations: 3.219 kB / 0.5567 GB, free: 94.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8493, allocations: 357.8 kB / 0.557 GB, free: 94.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009797/0.8503, allocations: 0.6386 MB / 0.5577 GB, free: 94.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.8514, allocations: 0.7864 MB / 0.5584 GB, free: 94.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.8526, allocations: 0.7513 MB / 0.5592 GB, free: 94.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-06/0.8526, allocations: 7.25 kB / 0.5592 GB, free: 94.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003773/0.8564, allocations: 2.093 MB / 0.5612 GB, free: 94.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.8564, allocations: 7.359 kB / 0.5612 GB, free: 94.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.8565, allocations: 3.188 kB / 0.5612 GB, free: 94.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.8583, allocations: 0.6945 MB / 0.5619 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/0.8592, allocations: 207.7 kB / 0.5621 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.8701, allocations: 10.14 MB / 0.572 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.8714, allocations: 29.94 kB / 0.572 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.8715, allocations: 42.75 kB / 0.5721 GB, free: 88.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002603/0.8718, allocations: 129.7 kB / 0.5722 GB, free: 88.85 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00274/0.8746, allocations: 1.862 MB / 0.574 GB, free: 88.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.8748, allocations: 142.8 kB / 0.5741 GB, free: 88.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.8778, allocations: 1.978 MB / 0.5761 GB, free: 88.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.8778, allocations: 14.16 kB / 0.5761 GB, free: 88.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.8779, allocations: 5.188 kB / 0.5761 GB, free: 88.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.8779, allocations: 3.562 kB / 0.5761 GB, free: 88.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005988/0.8839, allocations: 4.257 MB / 0.5802 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.8839, allocations: 0 / 0.5802 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.8845, allocations: 160.6 kB / 0.5804 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.8859, allocations: 0.6779 MB / 0.5811 GB, free: 88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.886, allocations: 7.906 kB / 0.5811 GB, free: 88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008224/0.8942, allocations: 10.03 MB / 0.5909 GB, free: 80.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.8943, allocations: 3.656 kB / 0.5909 GB, free: 80.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.898, allocations: 2.998 MB / 0.5938 GB, free: 79.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009047/0.899, allocations: 378.5 kB / 0.5942 GB, free: 79.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.8992, allocations: 14.16 kB / 0.5942 GB, free: 79.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/0.8999, allocations: 52.88 kB / 0.5942 GB, free: 79.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.9002, allocations: 119.3 kB / 0.5943 GB, free: 79.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.9003, allocations: 33.78 kB / 0.5944 GB, free: 79.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001137/0.9014, allocations: 0.8137 MB / 0.5952 GB, free: 78.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.653e-06/0.9014, allocations: 0 / 0.5952 GB, free: 78.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002295/0.9037, allocations: 478.9 kB / 0.5956 GB, free: 78.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004224/0.908, allocations: 3.788 MB / 0.5993 GB, free: 76.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.9111, allocations: 2.223 MB / 0.6015 GB, free: 75.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.9111, allocations: 3.656 kB / 0.6015 GB, free: 75.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.9129, allocations: 1.506 MB / 0.603 GB, free: 75.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.9148, allocations: 342.3 kB / 0.6033 GB, free: 74.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.9223, allocations: 4.29 MB / 0.6075 GB, free: 73.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.9238, allocations: 2.082 MB / 0.6095 GB, free: 72.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009383/0.9248, allocations: 275.8 kB / 0.6098 GB, free: 72.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008367/0.9256, allocations: 0.7705 MB / 0.6105 GB, free: 71.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/0.9257, allocations: 0 / 0.6105 GB, free: 71.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/0.9902, allocations: 39.51 MB / 0.6491 GB, free: 52.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001261/0.9904, allocations: 162.7 kB / 0.6493 GB, free: 52.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.976, allocations: 4 kB / 0.6493 GB, free: 52.09 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat