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.0009721/0.0009722, allocations: 97.17 kB / 16.94 MB, free: 5.98 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.001001/0.001001, allocations: 183 kB / 17.82 MB, free: 5.652 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.476/1.476, allocations: 205.4 MB / 224 MB, free: 13.18 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.0005298/0.0005301, allocations: 15.5 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1128, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006359/0.1192, allocations: 5.535 MB / 334 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004182/0.1234, allocations: 2.269 MB / 336.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008917/0.1244, allocations: 39.75 kB / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.1253, allocations: 374.1 kB / 336.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.1268, allocations: 0.5453 MB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.1273, allocations: 175.8 kB / 337.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002282/0.1296, allocations: 1.844 MB / 339.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.1315, allocations: 1.582 MB / 340.8 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1328, allocations: 0.8992 MB / 341.7 MB, free: 6.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.1342, allocations: 1.078 MB / 342.8 MB, free: 5.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.1345, allocations: 160 kB / 342.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.135, allocations: 215.9 kB / 343.1 MB, free: 5.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005608/0.1356, allocations: 0.627 MB / 343.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.1361, allocations: 0.5355 MB / 344.3 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.1392, allocations: 3.724 MB / 348 MB, free: 320 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.1392, allocations: 0 / 348 MB, free: 320 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1392, allocations: 0 / 348 MB, free: 320 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.437e-05/0.1393, allocations: 0 / 348 MB, free: 320 kB / 286.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.005208/0.1445, allocations: 2.523 MB / 350.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1446, allocations: 8.031 kB / 350.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005169/0.1451, allocations: 328.7 kB / 350.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007457/0.1458, allocations: 308.7 kB / 351.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.1488, allocations: 1.452 MB / 352.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.1489, allocations: 164.4 kB / 352.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.1492, allocations: 219.9 kB / 353 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005021/0.1543, allocations: 3.151 MB / 356.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.1543, allocations: 0 / 356.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.1545, allocations: 91.98 kB / 356.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.1547, allocations: 116.4 kB / 356.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0042/0.1589, allocations: 2.715 MB / 359.1 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.1729, allocations: 8.955 MB / 368 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/0.1762, allocations: 3.386 MB / 371.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.1764, allocations: 130.3 kB / 371.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.1765, allocations: 47.86 kB / 371.6 MB, free: 7.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.026e-06/0.1765, allocations: 0 / 371.6 MB, free: 7.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01/0.1865, allocations: 5.708 MB / 377.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1866, allocations: 64.72 kB / 377.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.1888, allocations: 1.474 MB / 378.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.1889, allocations: 53.7 kB / 378.9 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1742/0.3631, allocations: 0.938 MB / 379.8 MB, free: 50.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006795/0.3638, allocations: 446.2 kB / 380.2 MB, free: 50.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.3639, allocations: 24.25 kB / 380.3 MB, free: 50.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.364, allocations: 360.2 kB / 380.6 MB, free: 49.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.3652, allocations: 0.7029 MB / 381.3 MB, free: 49.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.3667, allocations: 0.8698 MB / 382.2 MB, free: 49.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.368, allocations: 0.8306 MB / 383 MB, free: 49.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.368, allocations: 7.281 kB / 383 MB, free: 49.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003696/0.3717, allocations: 2.32 MB / 385.4 MB, free: 48.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3718, allocations: 8.219 kB / 385.4 MB, free: 48.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3718, allocations: 3.438 kB / 385.4 MB, free: 48.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.3744, allocations: 0.8312 MB / 386.2 MB, free: 48.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.3751, allocations: 204.2 kB / 386.4 MB, free: 48.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009855/0.385, allocations: 10.73 MB / 397.1 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3863, allocations: 55.17 kB / 397.2 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.3864, allocations: 48.91 kB / 397.2 MB, free: 40.79 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.001378/0.3878, allocations: 0.812 MB / 398 MB, free: 40.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.3881, allocations: 157 kB / 398.2 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.3915, allocations: 2.305 MB / 400.5 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3915, allocations: 11.5 kB / 400.5 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3915, allocations: 12.58 kB / 400.5 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3915, allocations: 5.391 kB / 400.5 MB, free: 39.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.3977, allocations: 4.759 MB / 405.3 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3977, allocations: 4.062 kB / 405.3 MB, free: 36.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.3983, allocations: 160.9 kB / 405.4 MB, free: 36.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.4004, allocations: 0.8047 MB / 406.2 MB, free: 35.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.4005, allocations: 31.98 kB / 406.3 MB, free: 35.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008277/0.4088, allocations: 10.61 MB / 416.9 MB, free: 24.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4088, allocations: 6.016 kB / 416.9 MB, free: 24.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.4127, allocations: 3.291 MB / 420.2 MB, free: 21.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/0.4135, allocations: 407.1 kB / 420.6 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.4137, allocations: 20 kB / 420.6 MB, free: 20.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.4144, allocations: 79.94 kB / 420.7 MB, free: 20.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.4146, allocations: 113.1 kB / 420.8 MB, free: 20.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.4147, allocations: 43.92 kB / 420.8 MB, free: 20.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.416, allocations: 1.04 MB / 421.9 MB, free: 19.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.416, allocations: 4 kB / 421.9 MB, free: 19.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001694/0.4177, allocations: 0.5152 MB / 422.4 MB, free: 18.85 MB / 318.1 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 () * Number of clocked 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.004079/0.4218, allocations: 4.048 MB / 426.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.4246, allocations: 2.419 MB / 428.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4247, allocations: 0.875 kB / 428.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.4264, allocations: 1.628 MB / 430.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.4279, allocations: 477.3 kB / 431 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/0.4475, allocations: 15.86 MB / 446.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.4493, allocations: 2.089 MB / 448.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009908/0.4503, allocations: 309.4 kB / 449.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009272/0.4513, allocations: 0.7804 MB / 450 MB, free: 6.66 MB / 334.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4513, allocations: 4 kB / 450 MB, free: 6.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07217/0.5234, allocations: 46.22 MB / 496.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.5237, allocations: 271.8 kB / 496.5 MB, free: 8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.234, allocations: 0 / 496.5 MB, free: 8 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