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/ModelicaServices 4.0.0+maint.om/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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 238.9 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 187.6 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03248/0.03248, allocations: 8.782 MB / 350 MB, free: 4.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 13.44 kB / 413.2 MB, free: 42.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0849/0.08527, allocations: 52.56 MB / 465.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Rectifier): time 0.01414/0.09946, allocations: 13.93 MB / 479.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.1126, allocations: 7.871 MB / 487.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.1143, allocations: 87.62 kB / 487.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.1163, allocations: 0.9599 MB / 488.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.1195, allocations: 1.519 MB / 490.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.1235, allocations: 1.741 MB / 491.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004487/0.128, allocations: 3.476 MB / 495.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.1306, allocations: 2.382 MB / 497.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.1324, allocations: 1.533 MB / 499.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.1342, allocations: 1.789 MB / 0.4893 GB, free: 9.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003587/0.1345, allocations: 240 kB / 0.4895 GB, free: 9.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1356, allocations: 0.5113 MB / 0.49 GB, free: 9.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007029/0.1363, allocations: 0.8642 MB / 0.4908 GB, free: 8.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.1371, allocations: 0.8784 MB / 0.4917 GB, free: 7.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005137/0.1422, allocations: 6.365 MB / 0.4979 GB, free: 1.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1422, allocations: 0 / 0.4979 GB, free: 1.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1422, allocations: 4 kB / 0.4979 GB, free: 1.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001448/0.1424, allocations: 0 / 0.4979 GB, free: 1.082 MB / 334.1 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.01071/0.1531, allocations: 4.5 MB / 0.5023 GB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1532, allocations: 8.031 kB / 0.5023 GB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001257/0.1544, allocations: 0.5652 MB / 0.5029 GB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.1594, allocations: 0.9979 MB / 0.5038 GB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005686/0.1651, allocations: 2.723 MB / 0.5065 GB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.1654, allocations: 283.5 kB / 0.5068 GB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006763/0.1661, allocations: 383.8 kB / 0.5071 GB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007863/0.1739, allocations: 4.857 MB / 0.5119 GB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.989e-05/0.174, allocations: 11.84 kB / 0.5119 GB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/0.1744, allocations: 156 kB / 0.512 GB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.1745, allocations: 163.5 kB / 0.5122 GB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00685/0.1814, allocations: 4.171 MB / 0.5163 GB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2001/0.3815, allocations: 16.58 MB / 0.5325 GB, free: 56.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006606/0.3882, allocations: 8.172 MB / 0.5404 GB, free: 51.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007754/0.396, allocations: 4.534 MB / 0.5449 GB, free: 50.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.3961, allocations: 61.22 kB / 0.5449 GB, free: 50.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=197): time 4.108e-06/0.3961, allocations: 0.875 kB / 0.5449 GB, free: 50.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=201): time 0.01415/0.4102, allocations: 7.686 MB / 0.5524 GB, free: 48.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.4103, allocations: 183.5 kB / 0.5526 GB, free: 48.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.4138, allocations: 2.255 MB / 0.5548 GB, free: 47.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.414, allocations: 65.52 kB / 0.5549 GB, free: 47.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.4151, allocations: 1.7 MB / 0.5565 GB, free: 46.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.4156, allocations: 0.681 MB / 0.5572 GB, free: 45.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4157, allocations: 51.81 kB / 0.5573 GB, free: 45.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4158, allocations: 398.4 kB / 0.5576 GB, free: 45.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.4171, allocations: 0.9381 MB / 0.5585 GB, free: 45.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.4185, allocations: 1.574 MB / 0.5601 GB, free: 44.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.4199, allocations: 1.2 MB / 0.5613 GB, free: 43.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4199, allocations: 3.938 kB / 0.5613 GB, free: 43.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.004638/0.4246, allocations: 3.355 MB / 0.5645 GB, free: 41.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.4258, allocations: 7.562 MB / 0.5719 GB, free: 33.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/0.4258, allocations: 22.92 kB / 0.5719 GB, free: 33.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009606/0.4268, allocations: 0.4886 MB / 0.5724 GB, free: 33.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.4285, allocations: 0.5095 MB / 0.5729 GB, free: 33.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005947/0.4345, allocations: 8.491 MB / 0.5812 GB, free: 25.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.4363, allocations: 103.8 kB / 0.5813 GB, free: 25.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.4365, allocations: 95.28 kB / 0.5814 GB, free: 25.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.4365, allocations: 4.281 kB / 0.5814 GB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003939/0.4404, allocations: 3.078 MB / 0.5844 GB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.4405, allocations: 18.72 kB / 0.5844 GB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008488/0.4413, allocations: 497.7 kB / 0.5849 GB, free: 23.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.443, allocations: 0.5031 MB / 0.5854 GB, free: 23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.4488, allocations: 8.495 MB / 0.5937 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.4508, allocations: 91.86 kB / 0.5938 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.451, allocations: 100.1 kB / 0.5939 GB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (273): * Single equations (assignments): 266 * 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.002096/0.4531, allocations: 1.193 MB / 0.595 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.4536, allocations: 268.8 kB / 0.5953 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.4576, allocations: 2.992 MB / 0.5982 GB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.4577, allocations: 20 kB / 0.5982 GB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.4577, allocations: 4 kB / 0.5982 GB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.4577, allocations: 11.95 kB / 0.5983 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00911/0.4668, allocations: 6.623 MB / 0.6047 GB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.4669, allocations: 4 kB / 0.6047 GB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.468, allocations: 288 kB / 0.605 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.4694, allocations: 0.6694 MB / 0.6057 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.4695, allocations: 47.98 kB / 0.6057 GB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.4814, allocations: 13.11 MB / 0.6185 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4815, allocations: 5.312 kB / 0.6185 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006593/0.4881, allocations: 4.524 MB / 0.6229 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.4895, allocations: 0.5485 MB / 0.6235 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.4898, allocations: 43.98 kB / 0.6235 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.491, allocations: 88.5 kB / 0.6236 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/0.4913, allocations: 157.7 kB / 0.6237 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.4915, allocations: 66.16 kB / 0.6238 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002305/0.4938, allocations: 1.534 MB / 0.6253 GB, free: 12.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4938, allocations: 0 / 0.6253 GB, free: 12.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00428/0.4981, allocations: 1.322 MB / 0.6266 GB, free: 11.1 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 (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 (148): * Single equations (assignments): 142 * 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.007054/0.5051, allocations: 5.811 MB / 0.6323 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007353/0.5125, allocations: 5.156 MB / 0.6373 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.5126, allocations: 4 kB / 0.6373 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.5154, allocations: 2.107 MB / 0.6394 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.5185, allocations: 0.6694 MB / 0.64 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/0.5404, allocations: 23.12 MB / 0.6626 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/0.5429, allocations: 2.651 MB / 0.6652 GB, free: 2.621 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002576/0.5455, allocations: 0.6463 MB / 0.6658 GB, free: 1.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/0.5473, allocations: 1.417 MB / 0.6672 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5473, allocations: 4 kB / 0.6672 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3071/0.8544, allocations: 69.24 MB / 0.7348 GB, free: 123.7 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/0.8546, allocations: 216.6 kB / 0.735 GB, free: 123.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/4.551, allocations: 0 / 0.735 GB, free: 123.5 MB / 462.1 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) Environment - environmentSimulation: