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.001126/0.001126, allocations: 95.44 kB / 17 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.00169, allocations: 193.3 kB / 17.91 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002214/0.0002214, allocations: 4 kB / 306.8 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1048, allocations: 51.49 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier): time 0.2299/0.3348, allocations: 15.32 MB / 373.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.015/0.3498, allocations: 7.9 MB / 381.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.3531, allocations: 95.56 kB / 381.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.3567, allocations: 0.9633 MB / 382.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.3623, allocations: 1.303 MB / 383.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007684/0.37, allocations: 1.839 MB / 385.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009087/0.3791, allocations: 5.031 MB / 390.8 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004/0.3831, allocations: 2.316 MB / 393.1 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.3865, allocations: 1.549 MB / 394.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.39, allocations: 1.896 MB / 396.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007443/0.3907, allocations: 232.5 kB / 396.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.3931, allocations: 0.5605 MB / 397.3 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008024/0.3939, allocations: 0.8664 MB / 398.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.3955, allocations: 0.863 MB / 399.1 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006391/0.4019, allocations: 6.157 MB / 405.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.4019, allocations: 0 / 405.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4019, allocations: 0 / 405.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002476/0.4022, allocations: 0 / 405.2 MB, free: 13.32 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.01196/0.4141, allocations: 4.463 MB / 409.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4142, allocations: 12.03 kB / 409.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001507/0.4157, allocations: 0.5009 MB / 410.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.4211, allocations: 0.993 MB / 411.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005497/0.4266, allocations: 2.623 MB / 413.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.4268, allocations: 280.6 kB / 414.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006179/0.4275, allocations: 363.9 kB / 414.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008258/0.4357, allocations: 4.704 MB / 419.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.12e-05/0.4358, allocations: 7.953 kB / 419.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/0.4362, allocations: 163.9 kB / 419.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.4363, allocations: 151.3 kB / 419.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006717/0.443, allocations: 3.999 MB / 423.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/0.4677, allocations: 16.1 MB / 439.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.475, allocations: 8.16 MB / 447.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.4781, allocations: 1.784 MB / 449.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009758/0.4878, allocations: 5.799 MB / 455.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.4879, allocations: 52.56 kB / 455.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=180): time 4.418e-06/0.4879, allocations: 0 / 455.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=183): time 0.01504/0.503, allocations: 7.242 MB / 462.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.5031, allocations: 209.8 kB / 462.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004363/0.5075, allocations: 2.258 MB / 465.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003701/0.5079, allocations: 61.7 kB / 465.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.5093, allocations: 1.683 MB / 466.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007186/0.5101, allocations: 0.616 MB / 467.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.5103, allocations: 48 kB / 467.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.5105, allocations: 390.5 kB / 467.8 MB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.5122, allocations: 0.8633 MB / 468.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.5142, allocations: 1.518 MB / 470.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.5162, allocations: 1.107 MB / 471.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/0.5162, allocations: 11.95 kB / 471.3 MB, free: 9.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.006027/0.5223, allocations: 3.101 MB / 474.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005848/0.5229, allocations: 0.6472 MB / 475.1 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/0.5229, allocations: 20 kB / 475.1 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.5241, allocations: 471.8 kB / 475.6 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.5261, allocations: 491.2 kB / 476.1 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008212/0.5344, allocations: 8.061 MB / 484.1 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.5371, allocations: 99.81 kB / 484.2 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000488/0.5376, allocations: 95.98 kB / 484.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5377, allocations: 4 kB / 484.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005712/0.5434, allocations: 2.821 MB / 487.1 MB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.569e-05/0.5435, allocations: 20 kB / 487.1 MB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.5446, allocations: 476.2 kB / 487.6 MB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.5464, allocations: 487.4 kB / 488.1 MB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00806/0.5544, allocations: 8.069 MB / 496.2 MB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.5571, allocations: 99.8 kB / 496.3 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004459/0.5576, allocations: 95.98 kB / 496.3 MB, free: 14.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (258): * Single equations (assignments): 251 * 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.002887/0.5605, allocations: 1.16 MB / 497.5 MB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008749/0.5614, allocations: 256.9 kB / 497.8 MB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005594/0.567, allocations: 2.843 MB / 0.4889 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.567, allocations: 20 kB / 0.4889 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/0.5671, allocations: 4 kB / 0.4889 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.5671, allocations: 11.97 kB / 0.4889 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.5779, allocations: 6.049 MB / 0.4948 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.578, allocations: 0 / 0.4948 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.5791, allocations: 251.7 kB / 0.495 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.5807, allocations: 0.6608 MB / 0.4957 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.5808, allocations: 43.98 kB / 0.4957 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/0.5933, allocations: 12.64 MB / 0.5081 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.5933, allocations: 3.938 kB / 0.5081 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006835/0.6002, allocations: 3.961 MB / 0.512 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.6018, allocations: 0.5212 MB / 0.5125 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008634/0.6027, allocations: 40 kB / 0.5125 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.6043, allocations: 83.94 kB / 0.5126 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.6047, allocations: 145.7 kB / 0.5127 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.6049, allocations: 48.11 kB / 0.5128 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003534/0.6084, allocations: 1.535 MB / 0.5143 GB, free: 15.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6084, allocations: 0 / 0.5143 GB, free: 15.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008461/0.6169, allocations: 1.293 MB / 0.5155 GB, free: 14.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (130): * Single equations (assignments): 124 * 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.008046/0.625, allocations: 4.654 MB / 0.5201 GB, free: 9.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00751/0.6325, allocations: 4.84 MB / 0.5248 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.6326, allocations: 0 / 0.5248 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00297/0.6356, allocations: 1.97 MB / 0.5267 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/0.6403, allocations: 0.6711 MB / 0.5274 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2402/0.8805, allocations: 20.9 MB / 0.5478 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002796/0.8834, allocations: 2.523 MB / 0.5502 GB, free: 130.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002521/0.8859, allocations: 0.6109 MB / 0.5508 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/0.8876, allocations: 1.387 MB / 0.5522 GB, free: 129 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.8876, allocations: 2.188 kB / 0.5522 GB, free: 129 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09103/0.9786, allocations: 68.15 MB / 0.6188 GB, free: 69.81 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.9788, allocations: 273.4 kB / 0.619 GB, free: 69.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/4.771, allocations: 0 / 0.619 GB, free: 69.45 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)