Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 101 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 202.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.0002641, allocations: 4 kB / 306.7 MB, free: 1.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 51.49 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier): time 0.2214/0.3256, allocations: 14.04 MB / 372.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.3393, allocations: 8.021 MB / 380.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.3412, allocations: 95.81 kB / 380.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.3434, allocations: 0.9664 MB / 381.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.3469, allocations: 1.524 MB / 382.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005445/0.3524, allocations: 1.766 MB / 384.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007048/0.3594, allocations: 3.469 MB / 388.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003751/0.3632, allocations: 2.323 MB / 390.4 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.3674, allocations: 1.514 MB / 391.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004524/0.3719, allocations: 1.741 MB / 393.7 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.3729, allocations: 234.3 kB / 393.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.3757, allocations: 0.5252 MB / 394.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007366/0.3764, allocations: 0.8279 MB / 395.3 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.3777, allocations: 0.858 MB / 396.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00549/0.3832, allocations: 6.115 MB / 402.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3832, allocations: 0 / 402.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3832, allocations: 6.406 kB / 402.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001467/0.3834, allocations: 2.594 kB / 402.2 MB, free: 14.53 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.01047/0.3939, allocations: 4.451 MB / 406.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3939, allocations: 8.656 kB / 406.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009157/0.3948, allocations: 0.5042 MB / 407.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.3997, allocations: 0.9939 MB / 408.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/0.4051, allocations: 2.641 MB / 410.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.4053, allocations: 271.4 kB / 411.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006313/0.406, allocations: 371.9 kB / 411.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008552/0.4145, allocations: 4.678 MB / 416.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.56e-05/0.4146, allocations: 7.938 kB / 416.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003493/0.415, allocations: 156 kB / 416.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.4152, allocations: 155.2 kB / 416.4 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007601/0.4228, allocations: 3.995 MB / 420.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02861/0.4514, allocations: 16.08 MB / 436.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007612/0.4591, allocations: 8.16 MB / 444.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008468/0.4676, allocations: 4.911 MB / 449.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.4677, allocations: 64.45 kB / 449.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=188): time 3.817e-06/0.4677, allocations: 0 / 449.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=192): time 0.01421/0.4819, allocations: 7.193 MB / 456.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.482, allocations: 205.9 kB / 457.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003386/0.4854, allocations: 2.226 MB / 459.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.4856, allocations: 61.7 kB / 459.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.4868, allocations: 1.668 MB / 461 MB, free: 3.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00056/0.4874, allocations: 0.6507 MB / 461.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4875, allocations: 44 kB / 461.7 MB, free: 2.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4877, allocations: 394.6 kB / 462.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.4891, allocations: 0.8869 MB / 463 MB, free: 1.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.4908, allocations: 1.507 MB / 464.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.4925, allocations: 1.126 MB / 465.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.4925, allocations: 11.89 kB / 465.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005334/0.4978, allocations: 3.202 MB / 468.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003336/0.5012, allocations: 7.486 MB / 476.3 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.023e-05/0.5013, allocations: 20 kB / 476.3 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.5023, allocations: 471.8 kB / 476.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.5041, allocations: 499.2 kB / 477.3 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/0.512, allocations: 8.21 MB / 485.5 MB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.5143, allocations: 103.8 kB / 485.6 MB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.5146, allocations: 92 kB / 485.7 MB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.5146, allocations: 4 kB / 485.7 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004482/0.5191, allocations: 2.922 MB / 488.6 MB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.5191, allocations: 27.92 kB / 488.6 MB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009308/0.5201, allocations: 472.2 kB / 489.1 MB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.5218, allocations: 491.2 kB / 489.6 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007464/0.5293, allocations: 8.221 MB / 497.8 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/0.5317, allocations: 95.83 kB / 497.9 MB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/0.532, allocations: 91.98 kB / 498 MB, free: 12.18 MB / 414.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 (263): * Single equations (assignments): 256 * 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.003168/0.5352, allocations: 1.153 MB / 499.1 MB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.5358, allocations: 265.3 kB / 499.4 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/0.5405, allocations: 2.836 MB / 0.4904 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.5406, allocations: 20 kB / 0.4905 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.5406, allocations: 11.95 kB / 0.4905 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.5406, allocations: 7.969 kB / 0.4905 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.5512, allocations: 6.26 MB / 0.4966 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5513, allocations: 320 / 0.4966 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.5525, allocations: 279.6 kB / 0.4969 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.5539, allocations: 0.6644 MB / 0.4975 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.5541, allocations: 43.98 kB / 0.4976 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.5659, allocations: 12.81 MB / 0.5101 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.566, allocations: 7.953 kB / 0.5101 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006193/0.5722, allocations: 4.276 MB / 0.5142 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/0.5736, allocations: 0.5329 MB / 0.5148 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.574, allocations: 40 kB / 0.5148 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5751, allocations: 91.94 kB / 0.5149 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/0.5755, allocations: 149.7 kB / 0.515 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.5756, allocations: 51.98 kB / 0.5151 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002232/0.5778, allocations: 1.515 MB / 0.5166 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5778, allocations: 0 / 0.5166 GB, free: 11.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005016/0.5829, allocations: 1.297 MB / 0.5178 GB, free: 10.62 MB / 446.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 (139): * Single equations (assignments): 133 * 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.006701/0.5896, allocations: 5.585 MB / 0.5233 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1973/0.787, allocations: 4.899 MB / 0.5281 GB, free: 144.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.223e-05/0.7871, allocations: 2.281 kB / 0.5281 GB, free: 144.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004553/0.7916, allocations: 2.03 MB / 0.5301 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/0.7962, allocations: 0.6506 MB / 0.5307 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/0.816, allocations: 22.4 MB / 0.5526 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/0.8188, allocations: 2.591 MB / 0.5551 GB, free: 126.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002917/0.8217, allocations: 0.6145 MB / 0.5557 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/0.8233, allocations: 1.403 MB / 0.5571 GB, free: 125.4 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.8233, allocations: 0 / 0.5571 GB, free: 125.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09126/0.9145, allocations: 67.09 MB / 0.6226 GB, free: 70.08 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.9147, allocations: 262.5 kB / 0.6228 GB, free: 69.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/4.54, allocations: 0 / 0.6228 GB, free: 69.72 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)