Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.conf.json 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/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01895/0.01895, allocations: 167.4 kB / 15.13 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.08989/0.08989, allocations: 8.802 MB / 24.67 MB, free: 4.074 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.608/2.608, allocations: 223.2 MB / 250.8 MB, free: 6.539 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009631, allocations: 88.31 kB / 304.1 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000608/0.0006083, allocations: 12 kB / 367.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6927, allocations: 52.54 MB / 419.8 MB, free: 48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Rectifier): time 0.02835/0.7212, allocations: 15.19 MB / 435 MB, free: 37.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03115/0.7524, allocations: 7.763 MB / 442.7 MB, free: 31.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009482/0.762, allocations: 95.19 kB / 442.8 MB, free: 31.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007266/0.7694, allocations: 0.959 MB / 443.8 MB, free: 31.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.7814, allocations: 1.359 MB / 445.2 MB, free: 30.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.794, allocations: 1.813 MB / 447 MB, free: 28.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01312/0.8071, allocations: 5.097 MB / 452.1 MB, free: 24.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006228/0.8134, allocations: 2.376 MB / 454.4 MB, free: 22.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/0.8187, allocations: 1.579 MB / 456 MB, free: 20.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/0.8248, allocations: 1.945 MB / 458 MB, free: 18.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002148/0.8271, allocations: 240 kB / 458.2 MB, free: 18.56 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005207/0.8323, allocations: 0.5425 MB / 458.7 MB, free: 18.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002575/0.8349, allocations: 0.8989 MB / 459.6 MB, free: 17.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003966/0.839, allocations: 0.8784 MB / 460.5 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.8525, allocations: 6.404 MB / 466.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.8526, allocations: 0 / 466.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.368e-06/0.8526, allocations: 3.938 kB / 466.9 MB, free: 9.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003787/0.853, allocations: 0 / 466.9 MB, free: 9.805 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.02403/0.8771, allocations: 4.515 MB / 471.4 MB, free: 5.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.8772, allocations: 8.562 kB / 471.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007823/0.885, allocations: 0.5574 MB / 472 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/0.8996, allocations: 1.002 MB / 473 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/0.9109, allocations: 2.711 MB / 475.7 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004922/0.9115, allocations: 279.5 kB / 476 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/0.9141, allocations: 379.8 kB / 476.4 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/0.9369, allocations: 4.88 MB / 481.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.9371, allocations: 3.938 kB / 481.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001147/0.9382, allocations: 164 kB / 481.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003206/0.9386, allocations: 167.5 kB / 481.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/0.9568, allocations: 4.171 MB / 485.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06309/1.02, allocations: 16.61 MB / 0.4906 GB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/1.035, allocations: 8.169 MB / 0.4986 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005606/1.04, allocations: 1.858 MB / 0.5004 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0171/1.058, allocations: 5.456 MB / 0.5057 GB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.839e-05/1.058, allocations: 64.48 kB / 0.5058 GB, free: 5.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 6.633e-06/1.058, allocations: 0 / 0.5058 GB, free: 5.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=190): time 0.02541/1.083, allocations: 7.485 MB / 0.5131 GB, free: 13.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/1.083, allocations: 176.2 kB / 0.5132 GB, free: 13.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006342/1.09, allocations: 2.29 MB / 0.5155 GB, free: 10.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006089/1.09, allocations: 65.69 kB / 0.5155 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00235/1.093, allocations: 1.71 MB / 0.5172 GB, free: 9.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.094, allocations: 0.6431 MB / 0.5178 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/1.094, allocations: 48 kB / 0.5179 GB, free: 8.391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003255/1.095, allocations: 402.6 kB / 0.5183 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/1.097, allocations: 0.9103 MB / 0.5192 GB, free: 7.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/1.101, allocations: 1.569 MB / 0.5207 GB, free: 5.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003578/1.105, allocations: 1.158 MB / 0.5218 GB, free: 4.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-05/1.105, allocations: 8 kB / 0.5218 GB, free: 4.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.009415/1.114, allocations: 3.226 MB / 0.525 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008816/1.115, allocations: 0.6604 MB / 0.5256 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.396e-05/1.115, allocations: 16 kB / 0.5256 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.117, allocations: 0.4998 MB / 0.5261 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/1.12, allocations: 0.4915 MB / 0.5266 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/1.133, allocations: 8.338 MB / 0.5347 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/1.137, allocations: 107.9 kB / 0.5349 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005935/1.138, allocations: 92 kB / 0.5349 GB, free: 5.766 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.138, allocations: 4 kB / 0.5349 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008081/1.146, allocations: 2.949 MB / 0.5378 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.374e-05/1.146, allocations: 20 kB / 0.5378 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/1.148, allocations: 0.4925 MB / 0.5383 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/1.151, allocations: 491.2 kB / 0.5388 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.166, allocations: 8.354 MB / 0.547 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/1.17, allocations: 91.86 kB / 0.547 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008511/1.171, allocations: 96 kB / 0.5471 GB, free: 8.691 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 7 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (266): * Single equations (assignments): 259 * 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.005356/1.176, allocations: 1.195 MB / 0.5483 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/1.178, allocations: 256.9 kB / 0.5485 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/1.188, allocations: 2.979 MB / 0.5515 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.111e-05/1.188, allocations: 23.98 kB / 0.5515 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/1.188, allocations: 4 kB / 0.5515 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.757e-05/1.188, allocations: 7.969 kB / 0.5515 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4864/1.674, allocations: 6.311 MB / 0.5576 GB, free: 119.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/1.674, allocations: 1.078 kB / 0.5577 GB, free: 119.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.676, allocations: 278.3 kB / 0.5579 GB, free: 119.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/1.679, allocations: 0.6899 MB / 0.5586 GB, free: 119.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004159/1.68, allocations: 45.78 kB / 0.5586 GB, free: 119.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02288/1.703, allocations: 12.91 MB / 0.5712 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/1.703, allocations: 2.781 kB / 0.5712 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.716, allocations: 4.176 MB / 0.5753 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.719, allocations: 0.5363 MB / 0.5758 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008812/1.72, allocations: 41.81 kB / 0.5759 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/1.722, allocations: 90.31 kB / 0.576 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006107/1.722, allocations: 144.4 kB / 0.5761 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.723, allocations: 56.7 kB / 0.5762 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004502/1.727, allocations: 1.558 MB / 0.5777 GB, free: 106.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.727, allocations: 0 / 0.5777 GB, free: 106.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01051/1.738, allocations: 1.321 MB / 0.579 GB, free: 106.7 MB / 426.7 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 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * 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.01447/1.752, allocations: 4.849 MB / 0.5837 GB, free: 104.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01131/1.764, allocations: 5.025 MB / 0.5886 GB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/1.764, allocations: 7.891 kB / 0.5886 GB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004442/1.768, allocations: 2.048 MB / 0.5906 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006505/1.775, allocations: 0.7017 MB / 0.5913 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07373/1.848, allocations: 21.53 MB / 0.6123 GB, free: 79.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/1.852, allocations: 2.568 MB / 0.6148 GB, free: 76.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004614/1.857, allocations: 0.6384 MB / 0.6155 GB, free: 75.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002905/1.86, allocations: 1.425 MB / 0.6169 GB, free: 74.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.894e-06/1.86, allocations: 0 / 0.6169 GB, free: 74.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.211/2.071, allocations: 70.12 MB / 0.6853 GB, free: 4.852 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/2.071, allocations: 221.5 kB / 0.6855 GB, free: 4.613 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/10.83, allocations: 3.719 kB / 0.6855 GB, free: 4.613 MB / 426.7 MB (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Rectifier.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)