Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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.00118/0.00118, allocations: 94.52 kB / 16.93 MB, free: 6.445 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.001378/0.001378, allocations: 183.7 kB / 17.83 MB, free: 6.012 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.374/1.374, 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.0004849/0.000485, allocations: 16 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09642, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01587/0.1123, allocations: 13.51 MB / 341.9 MB, free: 6.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.127, allocations: 7.802 MB / 349.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.13, allocations: 87.62 kB / 349.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003648/0.1337, allocations: 0.9366 MB / 350.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006198/0.1399, allocations: 1.472 MB / 352.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006544/0.1465, allocations: 1.75 MB / 354 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007958/0.1545, allocations: 3.397 MB / 357.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004919/0.1594, allocations: 2.251 MB / 359.6 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.1625, allocations: 1.518 MB / 361.2 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.1656, allocations: 1.743 MB / 362.9 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.167, allocations: 236 kB / 363.1 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.1698, allocations: 0.4957 MB / 363.6 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.1717, allocations: 0.8408 MB / 364.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.1743, allocations: 0.8551 MB / 365.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008535/0.1828, allocations: 6.081 MB / 371.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1829, allocations: 0 / 371.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1829, allocations: 0 / 371.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002793/0.1832, allocations: 0 / 371.4 MB, free: 8.852 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.013/0.1962, allocations: 4.413 MB / 375.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1962, allocations: 12.03 kB / 375.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001572/0.1978, allocations: 0.5064 MB / 376.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/0.2036, allocations: 0.994 MB / 377.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006541/0.2102, allocations: 2.54 MB / 379.9 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.196/0.4062, allocations: 271.7 kB / 380.1 MB, free: 25.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.4078, allocations: 364.5 kB / 380.5 MB, free: 25.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.419, allocations: 4.666 MB / 385.1 MB, free: 24.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.4192, allocations: 4.25 kB / 385.2 MB, free: 24.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004336/0.4196, allocations: 151.9 kB / 385.3 MB, free: 24.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.4198, allocations: 154.8 kB / 385.5 MB, free: 24.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009517/0.4294, allocations: 3.984 MB / 389.4 MB, free: 24.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.4608, allocations: 16.01 MB / 405.5 MB, free: 20.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006007/0.4669, allocations: 7.867 MB / 413.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007301/0.4742, allocations: 4.369 MB / 417.7 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4743, allocations: 55.5 kB / 417.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=190): time 4.198e-06/0.4743, allocations: 0 / 417.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=194): time 0.01285/0.4872, allocations: 7.431 MB / 425.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4873, allocations: 176.2 kB / 425.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.4901, allocations: 2.214 MB / 427.6 MB, free: 176 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.4903, allocations: 62.47 kB / 427.6 MB, free: 108 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.4916, allocations: 1.652 MB / 429.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007105/0.4923, allocations: 0.6637 MB / 429.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.4924, allocations: 44 kB / 430 MB, free: 13.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.4926, allocations: 402.6 kB / 430.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.4942, allocations: 0.8908 MB / 431.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.496, allocations: 1.51 MB / 432.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.4977, allocations: 1.146 MB / 433.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.4978, allocations: 8 kB / 433.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.005369/0.5031, allocations: 3.226 MB / 437.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003543/0.5067, allocations: 7.468 MB / 444.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/0.5068, allocations: 20 kB / 444.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.5079, allocations: 475 kB / 445.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.51, allocations: 0.4983 MB / 445.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007739/0.5177, allocations: 8.179 MB / 453.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.5198, allocations: 100.6 kB / 453.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/0.5201, allocations: 95.98 kB / 454 MB, free: 4.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.5201, allocations: 4 kB / 454 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004782/0.5249, allocations: 2.949 MB / 456.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-05/0.5249, allocations: 20.36 kB / 456.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/0.5259, allocations: 478.6 kB / 457.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.5278, allocations: 0.4919 MB / 457.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008434/0.5363, allocations: 8.186 MB / 466.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.5384, allocations: 87.95 kB / 466.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.5387, allocations: 92 kB / 466.3 MB, free: 7.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (265): * Single equations (assignments): 258 * 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: 4 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00223/0.5409, allocations: 1.161 MB / 467.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005557/0.5415, allocations: 260.8 kB / 467.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.5462, allocations: 2.856 MB / 470.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.5462, allocations: 20 kB / 470.6 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5463, allocations: 8 kB / 470.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.5463, allocations: 7.969 kB / 470.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.5568, allocations: 6.356 MB / 476.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.5568, allocations: 4 kB / 476.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.558, allocations: 270.4 kB / 477.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.5596, allocations: 0.6596 MB / 477.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.5597, allocations: 44 kB / 477.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.5724, allocations: 12.8 MB / 490.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5725, allocations: 9.188 kB / 490.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007199/0.5797, allocations: 4.345 MB / 495.1 MB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.5813, allocations: 0.5291 MB / 495.6 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005042/0.5818, allocations: 51.94 kB / 495.6 MB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.583, allocations: 83.94 kB / 495.7 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.5834, allocations: 153.3 kB / 495.9 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.5835, allocations: 48 kB / 495.9 MB, free: 9.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002533/0.5861, allocations: 1.499 MB / 497.4 MB, free: 7.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5861, allocations: 2.406 kB / 497.4 MB, free: 7.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004831/0.5909, allocations: 1.293 MB / 498.7 MB, free: 6.289 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,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 (141): * Single equations (assignments): 135 * 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 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007187/0.5981, allocations: 5.638 MB / 0.4925 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008163/0.6063, allocations: 4.94 MB / 0.4973 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.6064, allocations: 3.109 kB / 0.4974 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003076/0.6095, allocations: 2.051 MB / 0.4994 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.6126, allocations: 0.6362 MB / 0.5 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/0.6358, allocations: 22.43 MB / 0.5219 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/0.6388, allocations: 2.59 MB / 0.5244 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00277/0.6416, allocations: 0.6143 MB / 0.525 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/0.6435, allocations: 1.397 MB / 0.5264 GB, free: 13.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6435, allocations: 0 / 0.5264 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2676/0.9111, allocations: 66.68 MB / 0.5915 GB, free: 121.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/0.9113, allocations: 239 kB / 0.5917 GB, free: 121.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.428/4.339, allocations: 4 kB / 0.5917 GB, free: 121.5 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1) Environment - environmentSimulation: