Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004979/0.004979, allocations: 169.5 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.03681/0.03681, allocations: 8.795 MB / 24.65 MB, free: 4.113 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.204/1.204, allocations: 223.2 MB / 250.7 MB, free: 6.562 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.000867/0.0008669, allocations: 104.6 kB / 304 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005254/0.0005254, allocations: 12 kB / 367.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2298, allocations: 52.53 MB / 419.6 MB, free: 48.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.3688, allocations: 139.7 MB / 0.5462 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001731/0.369, allocations: 87.95 kB / 0.5463 GB, free: 13.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7207/1.09, allocations: 221.2 MB / 0.7623 GB, free: 47.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/1.09, allocations: 0 / 0.7623 GB, free: 47.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002463/1.09, allocations: 142.8 kB / 0.7625 GB, free: 47.62 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.01616/1.106, allocations: 6.522 MB / 0.7688 GB, free: 45.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.106, allocations: 9.656 kB / 0.7688 GB, free: 45.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/1.122, allocations: 3.036 MB / 0.7718 GB, free: 45.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/1.134, allocations: 5.587 MB / 0.7773 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/1.134, allocations: 477.4 kB / 0.7777 GB, free: 44.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/1.135, allocations: 0.614 MB / 0.7783 GB, free: 44.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/1.149, allocations: 10.23 MB / 0.7883 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/1.149, allocations: 10.31 kB / 0.7883 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006703/1.15, allocations: 272.2 kB / 0.7886 GB, free: 43.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003597/1.15, allocations: 0.4902 MB / 0.7891 GB, free: 43.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/1.163, allocations: 9.28 MB / 0.7981 GB, free: 41.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03947/1.202, allocations: 35.5 MB / 0.8328 GB, free: 21.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/1.215, allocations: 20.79 MB / 0.8531 GB, free: 1.855 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/1.215, allocations: 226.5 kB / 0.8533 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/1.215, allocations: 64.89 kB / 0.8534 GB, free: 1.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 5.109e-06/1.215, allocations: 4 kB / 0.8534 GB, free: 1.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=301): time 0.0225/1.238, allocations: 11.19 MB / 0.8643 GB, free: 8.891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.238, allocations: 85.78 kB / 0.8644 GB, free: 8.793 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/1.241, allocations: 2.676 MB / 0.867 GB, free: 6.512 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001691/1.241, allocations: 73.7 kB / 0.8671 GB, free: 6.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.243, allocations: 2.848 MB / 0.8699 GB, free: 3.898 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007217/1.244, allocations: 1.038 MB / 0.8709 GB, free: 2.969 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/1.244, allocations: 92 kB / 0.871 GB, free: 2.879 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002533/1.244, allocations: 0.4932 MB / 0.8714 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/1.247, allocations: 2.008 MB / 0.8734 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007953/1.255, allocations: 4.044 MB / 0.8773 GB, free: 13.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/1.259, allocations: 2.816 MB / 0.8801 GB, free: 11.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/1.259, allocations: 16 kB / 0.8801 GB, free: 11.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.009609/1.268, allocations: 6.576 MB / 0.8865 GB, free: 5.293 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/1.268, allocations: 28 kB / 0.8866 GB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.058e-05/1.268, allocations: 56 kB / 0.8866 GB, free: 5.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/1.27, allocations: 0.6648 MB / 0.8873 GB, free: 4.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/1.274, allocations: 1.076 MB / 0.8883 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1984/1.472, allocations: 5.899 MB / 0.8941 GB, free: 72.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/1.476, allocations: 304.6 kB / 0.8944 GB, free: 72.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/1.476, allocations: 227.1 kB / 0.8946 GB, free: 72.8 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.003321/1.48, allocations: 2.318 MB / 0.8968 GB, free: 72.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/1.48, allocations: 318.9 kB / 0.8971 GB, free: 72.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/1.486, allocations: 4.619 MB / 0.9017 GB, free: 72.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/1.486, allocations: 30.59 kB / 0.9017 GB, free: 72.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.486, allocations: 6.781 kB / 0.9017 GB, free: 72.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/1.486, allocations: 17.3 kB / 0.9017 GB, free: 72.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/1.501, allocations: 11.13 MB / 0.9126 GB, free: 71.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.501, allocations: 6.891 kB / 0.9126 GB, free: 71.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.503, allocations: 0.5319 MB / 0.9131 GB, free: 71.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/1.505, allocations: 0.5617 MB / 0.9137 GB, free: 71.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/1.505, allocations: 66.7 kB / 0.9137 GB, free: 71.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006865/1.512, allocations: 5.194 MB / 0.9188 GB, free: 70 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.512, allocations: 8.875 kB / 0.9188 GB, free: 70 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008726/1.52, allocations: 7.021 MB / 0.9257 GB, free: 68.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.522, allocations: 0.7535 MB / 0.9264 GB, free: 68.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004569/1.523, allocations: 68.38 kB / 0.9265 GB, free: 68.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.524, allocations: 153.9 kB / 0.9266 GB, free: 68.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/1.525, allocations: 202.8 kB / 0.9268 GB, free: 68.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.525, allocations: 94.92 kB / 0.9269 GB, free: 68.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002878/1.528, allocations: 1.981 MB / 0.9288 GB, free: 68.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.528, allocations: 0 / 0.9288 GB, free: 68.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004117/1.532, allocations: 1.228 MB / 0.93 GB, free: 68.55 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.0006633/1.533, allocations: 439.1 kB / 0.9304 GB, free: 68.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006399/1.539, allocations: 4.995 MB / 0.9353 GB, free: 68.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.539, allocations: 3.719 kB / 0.9353 GB, free: 68.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/1.542, allocations: 2.249 MB / 0.9375 GB, free: 68.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.544, allocations: 0.5748 MB / 0.9381 GB, free: 68.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/1.566, allocations: 13.81 MB / 0.9516 GB, free: 62.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005867/1.572, allocations: 4.25 MB / 0.9557 GB, free: 61.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005662/1.577, allocations: 1.408 MB / 0.9571 GB, free: 61.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/1.578, allocations: 272.7 kB / 0.9573 GB, free: 61.69 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/1.578, allocations: 0 / 0.9573 GB, free: 61.69 MB / 474.7 MB Notification: Performance of Templates: time 0.07218/1.65, allocations: 46.12 MB / 1.002 GB, free: 50.9 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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_Slip3 -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_Slip3.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3_model.h:24: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3_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_Slip3_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_Slip3_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_Slip3_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_Slip3_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_Slip3_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_Slip3.o] Error 1