Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.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.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",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.001113/0.001113, allocations: 98.12 kB / 16.96 MB, free: 6.109 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.001811/0.001811, allocations: 174.7 kB / 17.84 MB, free: 5.738 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.898/1.898, allocations: 205.4 MB / 224 MB, free: 13.08 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.000559/0.0005595, allocations: 12 kB / 280.9 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 47.57 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01402/0.142, allocations: 10.56 MB / 339 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.1561, allocations: 6.244 MB / 345.3 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.1591, allocations: 55.69 kB / 345.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.1625, allocations: 0.7032 MB / 346 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.1667, allocations: 0.8037 MB / 346.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005776/0.1725, allocations: 1.404 MB / 348.2 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006621/0.1791, allocations: 3.484 MB / 351.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003372/0.1825, allocations: 1.375 MB / 353.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.186, allocations: 1.109 MB / 354.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004402/0.1905, allocations: 1.412 MB / 355.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.1923, allocations: 156 kB / 355.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.1948, allocations: 359.6 kB / 356.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.1968, allocations: 0.7358 MB / 356.8 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.1993, allocations: 0.5783 MB / 357.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006652/0.206, allocations: 3.728 MB / 361.2 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.206, allocations: 4 kB / 361.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.561e-06/0.206, allocations: 0 / 361.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002691/0.2063, allocations: 3.938 kB / 361.2 MB, free: 3.117 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.009999/0.2163, allocations: 2.95 MB / 364.1 MB, free: 104 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.2164, allocations: 8.031 kB / 364.1 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00125/0.2177, allocations: 345.7 kB / 364.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.2198, allocations: 439.9 kB / 364.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/0.2244, allocations: 1.583 MB / 366.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.2247, allocations: 188.7 kB / 366.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008616/0.2256, allocations: 239.9 kB / 366.9 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007984/0.2336, allocations: 3.034 MB / 369.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.2337, allocations: 7.938 kB / 369.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.234, allocations: 103.9 kB / 370 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.2342, allocations: 104.6 kB / 370.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005527/0.2397, allocations: 2.52 MB / 372.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2587/0.4984, allocations: 10.32 MB / 383 MB, free: 29.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/0.502, allocations: 2.73 MB / 385.7 MB, free: 28.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.5043, allocations: 1.221 MB / 386.9 MB, free: 28.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.5046, allocations: 126.3 kB / 387 MB, free: 28.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.5046, allocations: 53.48 kB / 387.1 MB, free: 28.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 3.236e-06/0.5046, allocations: 3.828 kB / 387.1 MB, free: 28.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.01796/0.5226, allocations: 8.193 MB / 395.3 MB, free: 27.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.5227, allocations: 172 kB / 395.5 MB, free: 26.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.5256, allocations: 1.863 MB / 397.3 MB, free: 26.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.5258, allocations: 56.36 kB / 397.4 MB, free: 26.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006986/0.5265, allocations: 1.151 MB / 398.5 MB, free: 26.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.5269, allocations: 0.5592 MB / 399.1 MB, free: 25.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/0.527, allocations: 42.41 kB / 399.1 MB, free: 25.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5271, allocations: 384.9 kB / 399.5 MB, free: 25.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.5283, allocations: 0.8579 MB / 400.4 MB, free: 25.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.5296, allocations: 1.313 MB / 401.7 MB, free: 25.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.531, allocations: 1.057 MB / 402.7 MB, free: 25.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.531, allocations: 2.844 kB / 402.7 MB, free: 25.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004677/0.5357, allocations: 3.133 MB / 405.9 MB, free: 24.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.536, allocations: 467 kB / 406.3 MB, free: 23.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/0.536, allocations: 12 kB / 406.3 MB, free: 23.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.5378, allocations: 0.7963 MB / 407.1 MB, free: 23.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.539, allocations: 369.7 kB / 407.5 MB, free: 23.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.5493, allocations: 11.84 MB / 419.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.5513, allocations: 103.9 kB / 419.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/0.5516, allocations: 68 kB / 419.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.5516, allocations: 4.094 kB / 419.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004369/0.556, allocations: 2.911 MB / 422.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.093e-05/0.5561, allocations: 16.33 kB / 422.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.5577, allocations: 0.7947 MB / 423.2 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.5589, allocations: 354 kB / 423.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.57, allocations: 11.83 MB / 435.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.5721, allocations: 91.92 kB / 435.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003423/0.5725, allocations: 78.53 kB / 435.6 MB, free: 12.03 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 183 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002043/0.5745, allocations: 0.8132 MB / 436.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008427/0.5754, allocations: 217.4 kB / 436.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.5808, allocations: 2.849 MB / 439.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.5808, allocations: 16 kB / 439.5 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.5809, allocations: 4 kB / 439.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.5809, allocations: 7.969 kB / 439.5 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.5924, allocations: 5.691 MB / 445.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.5925, allocations: 4 kB / 445.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.5934, allocations: 232.4 kB / 445.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/0.5955, allocations: 0.8306 MB / 446.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.5956, allocations: 39.98 kB / 446.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.6094, allocations: 13.29 MB / 459.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6094, allocations: 0 / 459.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/0.6161, allocations: 4.04 MB / 463.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.6175, allocations: 486.3 kB / 464.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005956/0.6181, allocations: 36 kB / 464.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.6195, allocations: 91.91 kB / 464.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003408/0.6199, allocations: 151.8 kB / 464.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.62, allocations: 48 kB / 464.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002396/0.6224, allocations: 1.262 MB / 465.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6224, allocations: 0 / 465.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005312/0.6277, allocations: 1.075 MB / 466.7 MB, free: 11.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 114 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007469/0.6352, allocations: 4.702 MB / 471.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008249/0.6435, allocations: 5.266 MB / 476.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.6435, allocations: 0 / 476.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003042/0.6466, allocations: 2.093 MB / 478.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/0.65, allocations: 0.551 MB / 479.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/0.683, allocations: 17.38 MB / 496.7 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.6851, allocations: 1.976 MB / 498.7 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001959/0.6871, allocations: 0.4896 MB / 499.2 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.6885, allocations: 0.9874 MB / 0.4885 GB, free: 9.234 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6885, allocations: 6.297 kB / 0.4885 GB, free: 9.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3126/1.001, allocations: 60.2 MB / 0.5472 GB, free: 139.6 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.001, allocations: 266.2 kB / 0.5475 GB, free: 139.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.98/4.981, allocations: 3.906 kB / 0.5475 GB, free: 139.3 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) Environment - environmentSimulation: