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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 180 kB / 8.478 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.07/1.07, allocations: 205.2 MB / 214.1 MB, free: 5.172 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.0008333/0.0008331, allocations: 83.69 kB / 262.1 MB, free: 5.219 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1458/0.1467, allocations: 52.98 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05924/0.2059, allocations: 47.57 MB / 362.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.4092, allocations: 89.48 MB / 452.1 MB, free: 9.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.4094, allocations: 83.95 kB / 452.2 MB, free: 9.023 MB / 314.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.1504/0.5599, allocations: 65.06 MB / 0.5051 GB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5599, allocations: 8 kB / 0.5051 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5611, allocations: 316.6 kB / 0.5054 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.5643, allocations: 1.58 MB / 0.507 GB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.5644, allocations: 72 kB / 0.5071 GB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/0.5648, allocations: 132 kB / 0.5072 GB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004122/0.5689, allocations: 2.379 MB / 0.5095 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004546/0.5735, allocations: 2.773 MB / 0.5122 GB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/0.5736, allocations: 7.938 kB / 0.5122 GB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.5738, allocations: 0 / 0.5122 GB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-05/0.5739, allocations: 116.4 kB / 0.5123 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.5866, allocations: 8.549 MB / 0.5207 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.5886, allocations: 1.677 MB / 0.5223 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.5904, allocations: 1.408 MB / 0.5237 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.5907, allocations: 142.3 kB / 0.5238 GB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5907, allocations: 51.88 kB / 0.5239 GB, free: 5.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.417e-06/0.5907, allocations: 0 / 0.5239 GB, free: 5.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.006286/0.597, allocations: 4.018 MB / 0.5278 GB, free: 1.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.597, allocations: 68.72 kB / 0.5279 GB, free: 1.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.5984, allocations: 1.085 MB / 0.5289 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.5985, allocations: 25.7 kB / 0.529 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.5988, allocations: 0.7637 MB / 0.5297 GB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.5991, allocations: 425.6 kB / 0.5301 GB, free: 15.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.5992, allocations: 0 / 0.5301 GB, free: 15.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.5993, allocations: 357.8 kB / 0.5304 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/0.6002, allocations: 0.6741 MB / 0.5311 GB, free: 14.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/0.6011, allocations: 0.8361 MB / 0.5319 GB, free: 13.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6021, allocations: 0.8026 MB / 0.5327 GB, free: 12.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6022, allocations: 3.938 kB / 0.5327 GB, free: 12.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003208/0.6054, allocations: 2.187 MB / 0.5348 GB, free: 10.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6054, allocations: 7.984 kB / 0.5349 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6054, allocations: 4 kB / 0.5349 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.6071, allocations: 0.698 MB / 0.5355 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/0.608, allocations: 215.7 kB / 0.5357 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.6182, allocations: 9.797 MB / 0.5453 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.6195, allocations: 28.03 kB / 0.5453 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.6196, allocations: 36 kB / 0.5454 GB, free: 15.31 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.0002692/0.6199, allocations: 136.7 kB / 0.5455 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.6201, allocations: 146.3 kB / 0.5456 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.6233, allocations: 2.066 MB / 0.5477 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.6233, allocations: 12 kB / 0.5477 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.6233, allocations: 4 kB / 0.5477 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.6233, allocations: 7.969 kB / 0.5477 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00634/0.6297, allocations: 4.271 MB / 0.5519 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6297, allocations: 3.984 kB / 0.5519 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/0.6305, allocations: 163.8 kB / 0.552 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.6321, allocations: 0.6983 MB / 0.5527 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/0.6322, allocations: 11.98 kB / 0.5527 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009525/0.6417, allocations: 9.78 MB / 0.5623 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.6418, allocations: 3.938 kB / 0.5623 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004423/0.6462, allocations: 3.206 MB / 0.5654 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005479/0.6517, allocations: 4.668 MB / 0.5699 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/0.6526, allocations: 387.3 kB / 0.5703 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.6528, allocations: 11.98 kB / 0.5703 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/0.6536, allocations: 43.97 kB / 0.5704 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.6538, allocations: 85.19 kB / 0.5705 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/0.6538, allocations: 35.98 kB / 0.5705 GB, free: 4.891 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001148/0.655, allocations: 0.8327 MB / 0.5713 GB, free: 4.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002143/0.6572, allocations: 475.9 kB / 0.5718 GB, free: 3.586 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.0003411/0.6575, allocations: 179 kB / 0.5719 GB, free: 3.402 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.6606, allocations: 2.187 MB / 0.5741 GB, free: 1.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6606, allocations: 0.875 kB / 0.5741 GB, free: 1.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1034/0.764, allocations: 1.432 MB / 0.5755 GB, free: 149 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.7659, allocations: 321.3 kB / 0.5758 GB, free: 149 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.7722, allocations: 3.729 MB / 0.5794 GB, free: 148.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/0.7737, allocations: 2.132 MB / 0.5815 GB, free: 147.5 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7738, allocations: 1.531 kB / 0.5815 GB, free: 147.5 MB / 426.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