Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001202/0.001202, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009448/0.0009449, allocations: 93.09 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.931e-05, allocations: 0 / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.4349, allocations: 93.4 MB / 495.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.4352, allocations: 82.02 kB / 495.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5076/0.9428, allocations: 116.9 MB / 0.5981 GB, free: 62.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9428, allocations: 3.891 kB / 0.5981 GB, free: 62.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002842/0.9431, allocations: 117.8 kB / 0.5982 GB, free: 62.57 MB / 442.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.008861/0.952, allocations: 3.86 MB / 0.602 GB, free: 61.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.952, allocations: 6.625 kB / 0.602 GB, free: 61.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001762/0.9538, allocations: 0.5622 MB / 0.6026 GB, free: 61.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.9558, allocations: 0.5864 MB / 0.6031 GB, free: 60.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/0.9611, allocations: 2.712 MB / 0.6058 GB, free: 60.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.9613, allocations: 292.5 kB / 0.6061 GB, free: 60.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006817/0.962, allocations: 391.3 kB / 0.6064 GB, free: 60.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.9721, allocations: 5.551 MB / 0.6119 GB, free: 59.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/0.9722, allocations: 1.312 kB / 0.6119 GB, free: 59.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004469/0.9727, allocations: 168.9 kB / 0.612 GB, free: 59.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002345/0.9729, allocations: 209.6 kB / 0.6122 GB, free: 59.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008087/0.981, allocations: 4.511 MB / 0.6166 GB, free: 59.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/1.013, allocations: 16.43 MB / 0.6327 GB, free: 56.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006068/1.019, allocations: 6.723 MB / 0.6392 GB, free: 51.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/1.023, allocations: 2.615 MB / 0.6418 GB, free: 50.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/1.023, allocations: 146.4 kB / 0.6419 GB, free: 50.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/1.023, allocations: 58.97 kB / 0.642 GB, free: 50.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.44e-06/1.023, allocations: 0 / 0.642 GB, free: 50.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.01385/1.037, allocations: 7.758 MB / 0.6496 GB, free: 47.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.037, allocations: 79.55 kB / 0.6496 GB, free: 47.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.041, allocations: 2.325 MB / 0.6519 GB, free: 46.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004542/1.041, allocations: 73.36 kB / 0.652 GB, free: 46.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009846/1.042, allocations: 1.635 MB / 0.6536 GB, free: 45.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006999/1.043, allocations: 0.8323 MB / 0.6544 GB, free: 44.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.043, allocations: 52.97 kB / 0.6544 GB, free: 44.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/1.043, allocations: 397.1 kB / 0.6548 GB, free: 43.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/1.045, allocations: 1.279 MB / 0.6561 GB, free: 43.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/1.046, allocations: 1.576 MB / 0.6576 GB, free: 42.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/1.048, allocations: 1.516 MB / 0.6591 GB, free: 42.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.048, allocations: 3.594 kB / 0.6591 GB, free: 42.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00624/1.054, allocations: 4.329 MB / 0.6633 GB, free: 40.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.054, allocations: 7.562 kB / 0.6633 GB, free: 40.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.054, allocations: 7.578 kB / 0.6633 GB, free: 40.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/1.057, allocations: 1.403 MB / 0.6647 GB, free: 40.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/1.059, allocations: 392 kB / 0.6651 GB, free: 40.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.078, allocations: 23.41 MB / 0.6879 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.081, allocations: 92.67 kB / 0.688 GB, free: 22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/1.081, allocations: 86.8 kB / 0.6881 GB, free: 21.98 MB / 442.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.0005498/1.082, allocations: 240.4 kB / 0.6883 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/1.082, allocations: 298.6 kB / 0.6886 GB, free: 21.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/1.088, allocations: 4.089 MB / 0.6926 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.088, allocations: 21.97 kB / 0.6926 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/1.088, allocations: 10.56 kB / 0.6926 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/1.088, allocations: 11.25 kB / 0.6927 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/1.102, allocations: 8.817 MB / 0.7013 GB, free: 16.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.102, allocations: 0 / 0.7013 GB, free: 16.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.103, allocations: 295.9 kB / 0.7015 GB, free: 16.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/1.106, allocations: 1.37 MB / 0.7029 GB, free: 16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/1.106, allocations: 62.33 kB / 0.7029 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01939/1.126, allocations: 23.17 MB / 0.7256 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.126, allocations: 7.969 kB / 0.7256 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009843/1.136, allocations: 5.984 MB / 0.7314 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/1.138, allocations: 0.6797 MB / 0.7321 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007022/1.139, allocations: 63.55 kB / 0.7321 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.14, allocations: 132.6 kB / 0.7323 GB, free: 6.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005899/1.141, allocations: 211.4 kB / 0.7325 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.141, allocations: 67.28 kB / 0.7325 GB, free: 5.973 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003106/1.144, allocations: 1.815 MB / 0.7343 GB, free: 4.332 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.144, allocations: 0 / 0.7343 GB, free: 4.332 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004328/1.148, allocations: 0.9717 MB / 0.7353 GB, free: 3.363 MB / 458.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.3223/1.471, allocations: 6.865 MB / 0.742 GB, free: 67.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006511/1.477, allocations: 4.733 MB / 0.7466 GB, free: 66.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.477, allocations: 2.406 kB / 0.7466 GB, free: 66.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003947/1.481, allocations: 3.281 MB / 0.7498 GB, free: 65.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/1.486, allocations: 0.8835 MB / 0.7507 GB, free: 65.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.501, allocations: 8.307 MB / 0.7588 GB, free: 63.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003208/1.504, allocations: 3.249 MB / 0.7619 GB, free: 62.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002168/1.507, allocations: 0.5651 MB / 0.7625 GB, free: 62.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/1.508, allocations: 1.46 MB / 0.7639 GB, free: 62.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/1.508, allocations: 0 / 0.7639 GB, free: 62.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/1.658, allocations: 88.26 MB / 0.8501 GB, free: 41.46 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/1.658, allocations: 197.3 kB / 0.8503 GB, free: 41.24 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.811/6.469, allocations: 0 / 0.8503 GB, free: 41.24 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat