Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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 4.0.0+maint.om/package.mo", uses=false) 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) 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.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.001163/0.001163, allocations: 97.36 kB / 16.3 MB, free: 5.992 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.001385/0.001385, allocations: 184.7 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002869, allocations: 6.344 kB / 300.8 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 50.42 MB / 351.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009307/0.1207, allocations: 8.656 MB / 359.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006496/0.1273, allocations: 3.172 MB / 363.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.1292, allocations: 71.62 kB / 363.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.1307, allocations: 0.5712 MB / 363.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.1337, allocations: 0.9425 MB / 364.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.1346, allocations: 287.6 kB / 364.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004874/0.1395, allocations: 3.24 MB / 368.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003954/0.1435, allocations: 3.068 MB / 371.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.1469, allocations: 1.596 MB / 372.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.1514, allocations: 1.914 MB / 374.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009233/0.1523, allocations: 268 kB / 375 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1536, allocations: 331.9 kB / 375.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.1547, allocations: 1.133 MB / 376.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.1559, allocations: 0.9368 MB / 377.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006909/0.1629, allocations: 6.798 MB / 384.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1629, allocations: 0 / 384.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1629, allocations: 0 / 384.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002364/0.1631, allocations: 0 / 384.2 MB, free: 10.55 MB / 318.1 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.009925/0.1731, allocations: 4.347 MB / 388.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1731, allocations: 8.031 kB / 388.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001288/0.1744, allocations: 0.5555 MB / 389.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.176, allocations: 0.545 MB / 389.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.1809, allocations: 2.666 MB / 392.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.1812, allocations: 295.8 kB / 392.6 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/0.1817, allocations: 383.9 kB / 393 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.1918, allocations: 5.754 MB / 398.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.954e-05/0.1919, allocations: 0 / 398.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003513/0.1922, allocations: 164 kB / 398.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00019/0.1924, allocations: 208 kB / 399.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008921/0.2014, allocations: 5.001 MB / 404.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02916/0.2305, allocations: 16.5 MB / 420.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2099/0.4405, allocations: 6.801 MB / 427.4 MB, free: 55.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/0.4409, allocations: 133.3 kB / 427.5 MB, free: 55.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.441, allocations: 64.42 kB / 427.6 MB, free: 55.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 5.119e-06/0.441, allocations: 2.156 kB / 427.6 MB, free: 55.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02152/0.4625, allocations: 10.78 MB / 438.4 MB, free: 53.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.4626, allocations: 82.8 kB / 438.5 MB, free: 53.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/0.4677, allocations: 2.608 MB / 441.1 MB, free: 53.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005198/0.4682, allocations: 69.42 kB / 441.1 MB, free: 53.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.4693, allocations: 1.634 MB / 442.8 MB, free: 52.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007359/0.4701, allocations: 0.8507 MB / 443.6 MB, free: 51.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.4702, allocations: 43.88 kB / 443.7 MB, free: 51.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4703, allocations: 406.7 kB / 444.1 MB, free: 51.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.4722, allocations: 1.354 MB / 445.4 MB, free: 50.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.4739, allocations: 1.651 MB / 447.1 MB, free: 49.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.476, allocations: 1.593 MB / 448.7 MB, free: 49.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.4761, allocations: 3.781 kB / 448.7 MB, free: 49.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006618/0.4827, allocations: 4.479 MB / 453.1 MB, free: 46.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.4827, allocations: 11.19 kB / 453.1 MB, free: 46.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.4828, allocations: 3.812 kB / 453.2 MB, free: 46.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004787/0.4876, allocations: 1.648 MB / 454.8 MB, free: 45.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.489, allocations: 389.4 kB / 455.2 MB, free: 45.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/0.5079, allocations: 23.9 MB / 479.1 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.5104, allocations: 99.92 kB / 479.2 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.5106, allocations: 72 kB / 479.2 MB, free: 20.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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.002571/0.5132, allocations: 1.411 MB / 480.7 MB, free: 18.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008115/0.514, allocations: 296.5 kB / 480.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006284/0.5203, allocations: 4.423 MB / 485.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.5204, allocations: 24 kB / 485.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/0.5204, allocations: 8 kB / 485.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.5205, allocations: 11.95 kB / 485.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.5344, allocations: 8.925 MB / 494.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.5344, allocations: 0 / 494.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.5355, allocations: 303.6 kB / 494.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004537/0.5401, allocations: 1.628 MB / 496.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.5403, allocations: 55.98 kB / 496.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02323/0.5635, allocations: 23.64 MB / 0.5078 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5635, allocations: 0 / 0.5078 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009702/0.5732, allocations: 6.194 MB / 0.5138 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/0.5753, allocations: 0.6849 MB / 0.5145 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000508/0.5759, allocations: 59.94 kB / 0.5145 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.5773, allocations: 131.9 kB / 0.5147 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005181/0.5778, allocations: 217.5 kB / 0.5149 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.5779, allocations: 63.98 kB / 0.5149 GB, free: 2.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00284/0.5808, allocations: 1.825 MB / 0.5167 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5808, allocations: 4 kB / 0.5167 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004458/0.5853, allocations: 0.9606 MB / 0.5177 GB, free: 15.74 MB / 398.1 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 () * Number of clocked 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.01072/0.596, allocations: 6.987 MB / 0.5245 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007849/0.6039, allocations: 4.897 MB / 0.5293 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/0.604, allocations: 0 / 0.5293 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005293/0.6093, allocations: 3.377 MB / 0.5326 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/0.6139, allocations: 0.8872 MB / 0.5334 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05402/0.668, allocations: 30.24 MB / 0.563 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003351/0.6714, allocations: 3.243 MB / 0.5661 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001946/0.6734, allocations: 0.5713 MB / 0.5667 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/0.6752, allocations: 1.46 MB / 0.5681 GB, free: 10.29 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6752, allocations: 4 kB / 0.5681 GB, free: 10.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3681/1.043, allocations: 86.37 MB / 0.6525 GB, free: 80.81 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/1.044, allocations: 268.9 kB / 0.6527 GB, free: 80.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.589/5.632, allocations: 0 / 0.6527 GB, free: 80.46 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat