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: translateModel(HanserModelica.SynchronousMachines.SMEE_Rectifier,tolerance=1e-07,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier") translateModel(HanserModelica.SynchronousMachines.SMEE_Rectifier,tolerance=1e-07,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.3 MB / 239.7 MB, free: 5.637 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.00141/0.00141, allocations: 168.5 kB / 290.9 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03305/0.03305, allocations: 8.78 MB / 350.8 MB, free: 4.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004297, allocations: 11.09 kB / 413.8 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1513, allocations: 52.56 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Rectifier): time 0.0184/0.1697, allocations: 15.18 MB / 481.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01949/0.1893, allocations: 7.756 MB / 489.3 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004197/0.1936, allocations: 99.56 kB / 489.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004084/0.1977, allocations: 0.9672 MB / 490.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006614/0.2043, allocations: 1.356 MB / 491.7 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00719/0.2115, allocations: 1.807 MB / 493.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.2224, allocations: 5.092 MB / 498.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004492/0.2269, allocations: 2.382 MB / 0.4893 GB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003714/0.2307, allocations: 1.58 MB / 0.4908 GB, free: 9.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004375/0.2351, allocations: 1.949 MB / 0.4927 GB, free: 7.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.2362, allocations: 240 kB / 0.4929 GB, free: 6.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.2386, allocations: 0.5464 MB / 0.4935 GB, free: 6.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.2397, allocations: 0.9027 MB / 0.4944 GB, free: 5.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.2414, allocations: 0.8823 MB / 0.4952 GB, free: 4.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008445/0.2499, allocations: 6.397 MB / 0.5015 GB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.25, allocations: 0 / 0.5015 GB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.25, allocations: 0 / 0.5015 GB, free: 14.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004064/0.2504, allocations: 0 / 0.5015 GB, free: 14.24 MB / 350.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.01447/0.2649, allocations: 4.511 MB / 0.5059 GB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.265, allocations: 8.031 kB / 0.5059 GB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006589/0.2715, allocations: 1.002 MB / 0.5069 GB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007611/0.2792, allocations: 2.708 MB / 0.5095 GB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.2795, allocations: 283.5 kB / 0.5098 GB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.2807, allocations: 375.8 kB / 0.5101 GB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.2912, allocations: 4.884 MB / 0.5149 GB, free: 292 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.559e-05/0.2913, allocations: 8 kB / 0.5149 GB, free: 284 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003682/0.2917, allocations: 152 kB / 0.515 GB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.2919, allocations: 167.4 kB / 0.5152 GB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008377/0.3003, allocations: 4.175 MB / 0.5193 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3151/0.6154, allocations: 16.61 MB / 0.5355 GB, free: 55.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007896/0.6234, allocations: 8.166 MB / 0.5435 GB, free: 49.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003573/0.627, allocations: 1.856 MB / 0.5453 GB, free: 49.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.638, allocations: 5.464 MB / 0.5506 GB, free: 48.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.6381, allocations: 60.25 kB / 0.5507 GB, free: 48.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=187): time 3.647e-06/0.6381, allocations: 0.9688 kB / 0.5507 GB, free: 48.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=190): time 0.01786/0.656, allocations: 7.492 MB / 0.558 GB, free: 45.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.6561, allocations: 177.1 kB / 0.5582 GB, free: 45.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.6602, allocations: 2.29 MB / 0.5604 GB, free: 44.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.6604, allocations: 61.64 kB / 0.5605 GB, free: 44.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.6618, allocations: 1.718 MB / 0.5621 GB, free: 43.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000583/0.6624, allocations: 0.6439 MB / 0.5628 GB, free: 42.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6625, allocations: 45.56 kB / 0.5628 GB, free: 42.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6627, allocations: 397.1 kB / 0.5632 GB, free: 42.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.6644, allocations: 0.9083 MB / 0.5641 GB, free: 41.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/0.6669, allocations: 1.576 MB / 0.5656 GB, free: 40.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/0.6695, allocations: 1.161 MB / 0.5668 GB, free: 39.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.6695, allocations: 3.906 kB / 0.5668 GB, free: 39.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.007527/0.6771, allocations: 3.226 MB / 0.5699 GB, free: 37.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006516/0.6778, allocations: 0.6535 MB / 0.5705 GB, free: 37.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/0.6778, allocations: 23.25 kB / 0.5706 GB, free: 37.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.6791, allocations: 0.4912 MB / 0.571 GB, free: 36.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/0.6818, allocations: 0.489 MB / 0.5715 GB, free: 36.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009473/0.6913, allocations: 8.348 MB / 0.5797 GB, free: 29.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/0.6949, allocations: 97.02 kB / 0.5798 GB, free: 29.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/0.6953, allocations: 99.73 kB / 0.5799 GB, free: 29.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.6953, allocations: 4.406 kB / 0.5799 GB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006971/0.7023, allocations: 2.959 MB / 0.5828 GB, free: 27.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-05/0.7024, allocations: 20 kB / 0.5828 GB, free: 27.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.7038, allocations: 0.4959 MB / 0.5833 GB, free: 26.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.7063, allocations: 495.3 kB / 0.5837 GB, free: 26.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008854/0.7152, allocations: 8.342 MB / 0.5919 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003514/0.7187, allocations: 97.14 kB / 0.592 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004276/0.7192, allocations: 99.98 kB / 0.5921 GB, free: 17.18 MB / 366.1 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.003081/0.7223, allocations: 1.184 MB / 0.5932 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009269/0.7232, allocations: 260.9 kB / 0.5935 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004707/0.7279, allocations: 2.976 MB / 0.5964 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.728, allocations: 20 kB / 0.5964 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.728, allocations: 4 kB / 0.5964 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.728, allocations: 11.92 kB / 0.5964 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009335/0.7373, allocations: 6.339 MB / 0.6026 GB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.7374, allocations: 4 kB / 0.6026 GB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.7385, allocations: 267 kB / 0.6029 GB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.7399, allocations: 0.6766 MB / 0.6035 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.74, allocations: 47.98 kB / 0.6036 GB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/0.7529, allocations: 12.92 MB / 0.6162 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.753, allocations: 3.938 kB / 0.6162 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008245/0.7612, allocations: 4.167 MB / 0.6203 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/0.7636, allocations: 0.5369 MB / 0.6208 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004895/0.7641, allocations: 44 kB / 0.6208 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.7652, allocations: 87.92 kB / 0.6209 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/0.7656, allocations: 149.7 kB / 0.6211 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.7658, allocations: 51.98 kB / 0.6211 GB, free: 2.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002731/0.7685, allocations: 1.554 MB / 0.6226 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.7685, allocations: 0 / 0.6226 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005598/0.7741, allocations: 1.315 MB / 0.6239 GB, free: 15.46 MB / 398.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 (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.0005997/0.7747, allocations: 228.8 kB / 0.6241 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008144/0.7829, allocations: 5.032 MB / 0.629 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.7829, allocations: 4.25 kB / 0.629 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003113/0.7861, allocations: 2.049 MB / 0.631 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/0.7899, allocations: 0.6929 MB / 0.6317 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.8048, allocations: 8.533 MB / 0.6401 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/0.8074, allocations: 2.529 MB / 0.6425 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009273/0.8084, allocations: 179.4 kB / 0.6427 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.774e-06/0.8084, allocations: 0 / 0.6427 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Templates: time 0.4768/1.285, allocations: 153.3 MB / 0.7924 GB, free: 71.2 MB / 462.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_RectifierCalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_RectifierCalcHelperMain.o] Error 1