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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 99.34 kB / 16.95 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 177.7 kB / 17.84 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006186/0.0006186, allocations: 8 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1249, allocations: 47.57 MB / 328.5 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009171/0.1342, allocations: 5.977 MB / 334.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005928/0.1402, allocations: 2.222 MB / 336.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.1414, allocations: 35.81 kB / 336.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.1427, allocations: 349.8 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.145, allocations: 0.5867 MB / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.1457, allocations: 167.8 kB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004809/0.1505, allocations: 3.008 MB / 340.8 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/0.1535, allocations: 1.582 MB / 342.4 MB, free: 5.992 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.1565, allocations: 0.9535 MB / 343.3 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.1597, allocations: 1.249 MB / 344.6 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006017/0.1603, allocations: 156 kB / 344.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1615, allocations: 215.9 kB / 344.9 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009929/0.1625, allocations: 0.6619 MB / 345.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.1637, allocations: 0.5355 MB / 346.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.1693, allocations: 3.728 MB / 349.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1693, allocations: 0 / 349.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1693, allocations: 0 / 349.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.1695, allocations: 4 kB / 349.9 MB, free: 14.47 MB / 302.1 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.007327/0.1768, allocations: 2.527 MB / 352.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.1769, allocations: 8.031 kB / 352.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001241/0.1782, allocations: 336.7 kB / 352.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.1795, allocations: 304.7 kB / 353 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.1832, allocations: 1.452 MB / 354.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.1835, allocations: 160.4 kB / 354.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005567/0.184, allocations: 223.9 kB / 354.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009153/0.1932, allocations: 3.163 MB / 358 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.1933, allocations: 4 kB / 358 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.1936, allocations: 87.98 kB / 358.1 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.1938, allocations: 120.4 kB / 358.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007384/0.2012, allocations: 2.715 MB / 360.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.2216, allocations: 8.955 MB / 369.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004728/0.2263, allocations: 3.386 MB / 373.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/0.2291, allocations: 1.347 MB / 374.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.2295, allocations: 122.4 kB / 374.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.2295, allocations: 55.83 kB / 374.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.079e-06/0.2296, allocations: 3.938 kB / 374.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2566/0.4861, allocations: 5.641 MB / 380.4 MB, free: 49.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.4862, allocations: 68.31 kB / 380.5 MB, free: 49.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/0.4888, allocations: 1.481 MB / 382 MB, free: 49.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.489, allocations: 48.67 kB / 382 MB, free: 49.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007145/0.4897, allocations: 0.9413 MB / 383 MB, free: 49.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.4901, allocations: 450.3 kB / 383.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.4902, allocations: 24.88 kB / 383.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.4903, allocations: 360.9 kB / 383.8 MB, free: 48.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.4914, allocations: 0.6951 MB / 384.5 MB, free: 48.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.4926, allocations: 0.8674 MB / 385.4 MB, free: 48.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.4939, allocations: 0.8155 MB / 386.2 MB, free: 47.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.4939, allocations: 1.828 kB / 386.2 MB, free: 47.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00405/0.498, allocations: 2.306 MB / 388.5 MB, free: 47.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.498, allocations: 10.44 kB / 388.5 MB, free: 47.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.498, allocations: 7.875 kB / 388.5 MB, free: 47.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.5006, allocations: 0.8164 MB / 389.3 MB, free: 46.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007785/0.5014, allocations: 210.8 kB / 389.5 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009682/0.5111, allocations: 10.52 MB / 400 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5122, allocations: 51.34 kB / 400.1 MB, free: 39.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.5124, allocations: 42.23 kB / 400.1 MB, free: 39.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * 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.001412/0.5138, allocations: 0.8114 MB / 400.9 MB, free: 38.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.5143, allocations: 166.8 kB / 401.1 MB, free: 38.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.5176, allocations: 2.282 MB / 403.4 MB, free: 37.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5176, allocations: 11.62 kB / 403.4 MB, free: 37.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.5176, allocations: 5.031 kB / 403.4 MB, free: 37.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5176, allocations: 3.984 kB / 403.4 MB, free: 37.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/0.5243, allocations: 4.764 MB / 408.2 MB, free: 33.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5244, allocations: 4 kB / 408.2 MB, free: 33.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.525, allocations: 159.9 kB / 408.3 MB, free: 33.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.5272, allocations: 0.801 MB / 409.1 MB, free: 32.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.949e-05/0.5273, allocations: 35.92 kB / 409.2 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008826/0.5361, allocations: 10.39 MB / 419.6 MB, free: 21.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5361, allocations: 4.125 kB / 419.6 MB, free: 21.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.5405, allocations: 3.24 MB / 422.8 MB, free: 18.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009067/0.5415, allocations: 403.1 kB / 423.2 MB, free: 18.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.5418, allocations: 31.98 kB / 423.2 MB, free: 18.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/0.5426, allocations: 71.95 kB / 423.3 MB, free: 17.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.5429, allocations: 121.1 kB / 423.4 MB, free: 17.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.543, allocations: 32 kB / 423.4 MB, free: 17.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.5445, allocations: 1.044 MB / 424.5 MB, free: 16.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5445, allocations: 0 / 424.5 MB, free: 16.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001945/0.5465, allocations: 0.5195 MB / 425 MB, free: 16.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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.004362/0.5509, allocations: 3.852 MB / 428.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003134/0.554, allocations: 2.402 MB / 431.3 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.554, allocations: 0 / 431.3 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.556, allocations: 1.639 MB / 432.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.5582, allocations: 0.4957 MB / 433.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/0.582, allocations: 13.77 MB / 447.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.5842, allocations: 2.047 MB / 449.2 MB, free: 7.504 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001095/0.5854, allocations: 309.5 kB / 449.5 MB, free: 7.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/0.5866, allocations: 0.7727 MB / 450.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5866, allocations: 0 / 450.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07829/0.6649, allocations: 46.29 MB / 496.6 MB, free: 8.055 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003657/0.6653, allocations: 273.3 kB / 496.8 MB, free: 7.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.281/3.947, allocations: 3.5 kB / 496.9 MB, free: 7.695 MB / 382.1 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) Environment - environmentSimulation: 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