Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 179.1 kB / 8.697 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.582/1.582, allocations: 205.3 MB / 214.4 MB, free: 1.66 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.0009672/0.0009672, allocations: 82.72 kB / 262.4 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.864e-05, allocations: 0 / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08579, allocations: 47.58 MB / 363.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3191/0.4049, allocations: 89.79 MB / 453 MB, free: 5.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4052, allocations: 81.58 kB / 453 MB, free: 5.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1524/0.5576, allocations: 62.74 MB / 0.5037 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5576, allocations: 0 / 0.5037 GB, free: 12.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00014/0.5578, allocations: 59.94 kB / 0.5037 GB, free: 12.48 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.003996/0.5618, allocations: 2.267 MB / 0.506 GB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5618, allocations: 15.97 kB / 0.506 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000705/0.5625, allocations: 308.7 kB / 0.5063 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.5649, allocations: 1.565 MB / 0.5078 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.565, allocations: 72 kB / 0.5079 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/0.5653, allocations: 128 kB / 0.508 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003399/0.5687, allocations: 2.316 MB / 0.5102 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/0.5728, allocations: 2.73 MB / 0.5129 GB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.5729, allocations: 4 kB / 0.5129 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.573, allocations: 4 kB / 0.5129 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.5731, allocations: 108.4 kB / 0.513 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.5866, allocations: 8.453 MB / 0.5213 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.5899, allocations: 3.255 MB / 0.5245 GB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.5914, allocations: 1.237 MB / 0.5257 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/0.5917, allocations: 138.3 kB / 0.5258 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.5918, allocations: 47.88 kB / 0.5258 GB, free: 5.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.967e-06/0.5918, allocations: 0 / 0.5258 GB, free: 5.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.006341/0.5982, allocations: 3.862 MB / 0.5296 GB, free: 1.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.5982, allocations: 64.72 kB / 0.5297 GB, free: 1.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.5997, allocations: 1.054 MB / 0.5307 GB, free: 32 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.533e-05/0.5998, allocations: 25.7 kB / 0.5307 GB, free: 0 / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009653/0.7928, allocations: 0.9473 MB / 0.5317 GB, free: 96.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/0.7933, allocations: 429.9 kB / 0.5321 GB, free: 96.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.7934, allocations: 0 / 0.5321 GB, free: 96.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.7935, allocations: 361.4 kB / 0.5324 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/0.7943, allocations: 0.634 MB / 0.533 GB, free: 96.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008897/0.7952, allocations: 0.7897 MB / 0.5338 GB, free: 95.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.7963, allocations: 0.7548 MB / 0.5345 GB, free: 95.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7963, allocations: 1.062 kB / 0.5345 GB, free: 95.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003331/0.7996, allocations: 2.088 MB / 0.5366 GB, free: 95.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7997, allocations: 6.969 kB / 0.5366 GB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.7997, allocations: 7.062 kB / 0.5366 GB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.8013, allocations: 0.6804 MB / 0.5373 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.8021, allocations: 205.8 kB / 0.5375 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009866/0.812, allocations: 10.12 MB / 0.5473 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.8132, allocations: 31.3 kB / 0.5474 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.8133, allocations: 42.84 kB / 0.5474 GB, free: 90.55 MB / 410.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.8136, allocations: 131.2 kB / 0.5475 GB, free: 90.44 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002893/0.8165, allocations: 1.865 MB / 0.5494 GB, free: 90.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.8167, allocations: 141.9 kB / 0.5495 GB, free: 90.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.8195, allocations: 1.979 MB / 0.5514 GB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.8196, allocations: 11.38 kB / 0.5514 GB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.8196, allocations: 9.547 kB / 0.5514 GB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.8196, allocations: 6.891 kB / 0.5514 GB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.8254, allocations: 4.236 MB / 0.5556 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.8254, allocations: 0 / 0.5556 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/0.826, allocations: 161.7 kB / 0.5557 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.8273, allocations: 0.6803 MB / 0.5564 GB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/0.8274, allocations: 10.38 kB / 0.5564 GB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008009/0.8354, allocations: 10.03 MB / 0.5662 GB, free: 84.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.8355, allocations: 0 / 0.5662 GB, free: 84.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/0.839, allocations: 2.998 MB / 0.5691 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007707/0.8398, allocations: 386.8 kB / 0.5695 GB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.84, allocations: 3.25 kB / 0.5695 GB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.8407, allocations: 53.88 kB / 0.5696 GB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.8409, allocations: 111.1 kB / 0.5697 GB, free: 83.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.841, allocations: 38.2 kB / 0.5697 GB, free: 83.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009301/0.8419, allocations: 0.8199 MB / 0.5705 GB, free: 82.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8419, allocations: 0 / 0.5705 GB, free: 82.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001688/0.8436, allocations: 480.4 kB / 0.571 GB, free: 82.66 MB / 410.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.003713/0.8474, allocations: 3.777 MB / 0.5746 GB, free: 80.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.8501, allocations: 2.231 MB / 0.5768 GB, free: 79.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8501, allocations: 1.562 kB / 0.5768 GB, free: 79.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.8518, allocations: 1.519 MB / 0.5783 GB, free: 78.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.8535, allocations: 330.5 kB / 0.5786 GB, free: 78.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.86, allocations: 4.281 MB / 0.5828 GB, free: 77.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.8614, allocations: 2.083 MB / 0.5848 GB, free: 76.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007634/0.8622, allocations: 276.1 kB / 0.5851 GB, free: 76.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/0.8629, allocations: 0.7711 MB / 0.5859 GB, free: 75.57 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.863, allocations: 2 kB / 0.5859 GB, free: 75.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06258/0.9255, allocations: 39.55 MB / 0.6245 GB, free: 56.53 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.9257, allocations: 161.4 kB / 0.6246 GB, free: 56.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/3.947, allocations: 0 / 0.6246 GB, free: 56.34 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat