Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004474/0.004474, allocations: 171.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0359/0.0359, allocations: 8.799 MB / 24.65 MB, free: 4.094 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.2 MB / 250.7 MB, free: 6.457 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.0007926/0.0007926, allocations: 102.8 kB / 304 MB, free: 3.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 16 kB / 367.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2297, allocations: 52.53 MB / 419.6 MB, free: 48.11 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.372, allocations: 139.7 MB / 0.5462 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3722, allocations: 79.97 kB / 0.5463 GB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7326/1.105, allocations: 221.2 MB / 0.7623 GB, free: 47.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.105, allocations: 0 / 0.7623 GB, free: 47.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003834/1.105, allocations: 143.8 kB / 0.7625 GB, free: 47.63 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02017/1.125, allocations: 6.526 MB / 0.7688 GB, free: 45.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.126, allocations: 9.656 kB / 0.7688 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/1.143, allocations: 3.035 MB / 0.7718 GB, free: 45.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/1.156, allocations: 5.585 MB / 0.7773 GB, free: 44.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/1.156, allocations: 475.4 kB / 0.7777 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/1.158, allocations: 0.6179 MB / 0.7783 GB, free: 44.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/1.173, allocations: 10.23 MB / 0.7883 GB, free: 43.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/1.173, allocations: 9.25 kB / 0.7883 GB, free: 43.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006326/1.174, allocations: 273.5 kB / 0.7886 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000354/1.174, allocations: 0.489 MB / 0.7891 GB, free: 43.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/1.187, allocations: 9.28 MB / 0.7981 GB, free: 41.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/1.228, allocations: 35.51 MB / 0.8328 GB, free: 21.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/1.242, allocations: 20.79 MB / 0.8531 GB, free: 1.855 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/1.243, allocations: 221.6 kB / 0.8533 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/1.243, allocations: 64.89 kB / 0.8534 GB, free: 1.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 5.14e-06/1.243, allocations: 0 / 0.8534 GB, free: 1.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=301): time 0.02283/1.266, allocations: 11.19 MB / 0.8643 GB, free: 8.895 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.266, allocations: 85.78 kB / 0.8644 GB, free: 8.797 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/1.269, allocations: 2.68 MB / 0.867 GB, free: 6.512 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001577/1.269, allocations: 73.7 kB / 0.8671 GB, free: 6.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.271, allocations: 2.848 MB / 0.8699 GB, free: 3.898 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006792/1.272, allocations: 1.034 MB / 0.8709 GB, free: 2.969 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/1.272, allocations: 92 kB / 0.871 GB, free: 2.879 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002341/1.272, allocations: 499.5 kB / 0.8714 GB, free: 2.438 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/1.275, allocations: 2.011 MB / 0.8734 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007709/1.282, allocations: 4.049 MB / 0.8773 GB, free: 13.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/1.286, allocations: 2.812 MB / 0.8801 GB, free: 11.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/1.286, allocations: 16 kB / 0.8801 GB, free: 11.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.009149/1.295, allocations: 6.575 MB / 0.8865 GB, free: 5.297 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/1.295, allocations: 28.25 kB / 0.8866 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/1.295, allocations: 62.58 kB / 0.8866 GB, free: 5.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/1.297, allocations: 0.6623 MB / 0.8873 GB, free: 4.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/1.3, allocations: 1.077 MB / 0.8883 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2244/1.525, allocations: 5.898 MB / 0.8941 GB, free: 72.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/1.529, allocations: 307.5 kB / 0.8944 GB, free: 72.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006462/1.53, allocations: 227.5 kB / 0.8946 GB, free: 72.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (561): * Single equations (assignments): 560 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003821/1.533, allocations: 2.313 MB / 0.8968 GB, free: 72.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005914/1.534, allocations: 319.9 kB / 0.8972 GB, free: 72.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006276/1.54, allocations: 4.617 MB / 0.9017 GB, free: 72.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/1.54, allocations: 32.91 kB / 0.9017 GB, free: 72.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.54, allocations: 13.23 kB / 0.9017 GB, free: 72.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/1.54, allocations: 14.25 kB / 0.9017 GB, free: 72.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.555, allocations: 11.13 MB / 0.9126 GB, free: 71.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/1.556, allocations: 5.281 kB / 0.9126 GB, free: 71.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/1.558, allocations: 0.5298 MB / 0.9131 GB, free: 71.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/1.559, allocations: 0.5653 MB / 0.9137 GB, free: 71.42 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/1.559, allocations: 69.61 kB / 0.9137 GB, free: 71.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006615/1.566, allocations: 5.185 MB / 0.9188 GB, free: 70.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.566, allocations: 9.406 kB / 0.9188 GB, free: 70.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009045/1.575, allocations: 7.025 MB / 0.9257 GB, free: 68.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.577, allocations: 0.7534 MB / 0.9264 GB, free: 68.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004607/1.578, allocations: 59.47 kB / 0.9264 GB, free: 68.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/1.579, allocations: 162.2 kB / 0.9266 GB, free: 68.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/1.58, allocations: 203.6 kB / 0.9268 GB, free: 68.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.58, allocations: 89.27 kB / 0.9269 GB, free: 68.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003093/1.583, allocations: 1.978 MB / 0.9288 GB, free: 68.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.583, allocations: 3.844 kB / 0.9288 GB, free: 68.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004842/1.588, allocations: 1.231 MB / 0.93 GB, free: 68.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (smee.excitation.electroMagneticConverter.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008471/1.588, allocations: 437.3 kB / 0.9304 GB, free: 68.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007185/1.596, allocations: 5.005 MB / 0.9353 GB, free: 68.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.596, allocations: 0 / 0.9353 GB, free: 68.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002937/1.599, allocations: 2.24 MB / 0.9375 GB, free: 68.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/1.601, allocations: 0.5692 MB / 0.9381 GB, free: 68.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/1.621, allocations: 13.81 MB / 0.9516 GB, free: 62.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/1.625, allocations: 4.253 MB / 0.9557 GB, free: 61.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004085/1.629, allocations: 1.405 MB / 0.9571 GB, free: 61.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008067/1.63, allocations: 268.7 kB / 0.9573 GB, free: 61.78 MB / 474.7 MB Notification: Performance of SimCode: time 1.143e-06/1.63, allocations: 0 / 0.9573 GB, free: 61.78 MB / 474.7 MB Notification: Performance of Templates: time 0.07392/1.704, allocations: 46.12 MB / 1.002 GB, free: 51 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_model.h:24: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_functions.h:915:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24apparentPower' _omcQComplexOutput_24multiSensor_24apparentPower omc__omcQComplexOutput_24multiSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_functions.h:924:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24apparentPowerTotal' _omcQComplexOutput_24multiSensor_24apparentPowerTotal omc__omcQComplexOutput_24multiSensor_24apparentPowerTotal (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_functions.h:933:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24i' _omcQComplexOutput_24multiSensor_24i omc__omcQComplexOutput_24multiSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_functions.h:942:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24v' _omcQComplexOutput_24multiSensor_24v omc__omcQComplexOutput_24multiSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_functions.h:951:1: error: unknown type name '_omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v' _omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v omc__omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_functions.h:960:1: error: unknown type name '_omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v' _omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v omc__omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 6 errors generated. make: *** [: HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.o] Error 1