Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004717/0.004717, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0366/0.0366, allocations: 8.797 MB / 24.65 MB, free: 4.117 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.207/1.207, allocations: 223.2 MB / 250.7 MB, free: 6.543 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.0008403/0.0008403, allocations: 99.36 kB / 304 MB, free: 4.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 11.98 kB / 367.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2172, allocations: 52.54 MB / 419.6 MB, free: 48.22 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.3576, allocations: 139.7 MB / 0.5462 GB, free: 13.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.3579, allocations: 79.97 kB / 0.5463 GB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7348/1.093, allocations: 221.2 MB / 0.7623 GB, free: 47.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.055e-06/1.093, allocations: 0 / 0.7623 GB, free: 47.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004868/1.093, allocations: 143.2 kB / 0.7625 GB, free: 47.54 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.02513/1.118, allocations: 6.523 MB / 0.7688 GB, free: 45.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.118, allocations: 10.94 kB / 0.7688 GB, free: 45.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02119/1.14, allocations: 3.039 MB / 0.7718 GB, free: 45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01325/1.153, allocations: 5.589 MB / 0.7773 GB, free: 44.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004164/1.153, allocations: 473.3 kB / 0.7777 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002512/1.156, allocations: 0.6105 MB / 0.7783 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.175, allocations: 10.24 MB / 0.7883 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/1.175, allocations: 13.72 kB / 0.7883 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006587/1.176, allocations: 275.3 kB / 0.7886 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003709/1.176, allocations: 0.4932 MB / 0.7891 GB, free: 43.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/1.192, allocations: 9.277 MB / 0.7981 GB, free: 41.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05322/1.246, allocations: 35.5 MB / 0.8328 GB, free: 21.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/1.26, allocations: 20.78 MB / 0.8531 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/1.26, allocations: 232.2 kB / 0.8533 GB, free: 1.625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/1.26, allocations: 72.2 kB / 0.8534 GB, free: 1.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 5.651e-06/1.26, allocations: 0 / 0.8534 GB, free: 1.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=301): time 0.02623/1.286, allocations: 11.19 MB / 0.8643 GB, free: 8.895 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/1.286, allocations: 89.78 kB / 0.8644 GB, free: 8.793 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00466/1.291, allocations: 2.679 MB / 0.867 GB, free: 6.508 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002171/1.291, allocations: 73.7 kB / 0.8671 GB, free: 6.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001854/1.293, allocations: 2.848 MB / 0.8699 GB, free: 3.895 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008717/1.294, allocations: 1.037 MB / 0.8709 GB, free: 2.965 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/1.294, allocations: 92 kB / 0.871 GB, free: 2.875 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003186/1.295, allocations: 0.4898 MB / 0.8714 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/1.298, allocations: 2.008 MB / 0.8734 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008332/1.306, allocations: 4.049 MB / 0.8773 GB, free: 13.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/1.31, allocations: 2.817 MB / 0.8801 GB, free: 11.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-05/1.31, allocations: 16 kB / 0.8801 GB, free: 11.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01005/1.32, allocations: 6.571 MB / 0.8865 GB, free: 5.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/1.32, allocations: 32.03 kB / 0.8866 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.636e-05/1.32, allocations: 56 kB / 0.8866 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/1.322, allocations: 0.6593 MB / 0.8873 GB, free: 4.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/1.326, allocations: 1.077 MB / 0.8883 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1954/1.521, allocations: 5.895 MB / 0.8941 GB, free: 72.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/1.525, allocations: 307.7 kB / 0.8944 GB, free: 72.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/1.525, allocations: 226.7 kB / 0.8946 GB, free: 72.74 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.003124/1.528, allocations: 2.312 MB / 0.8968 GB, free: 72.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/1.529, allocations: 324.8 kB / 0.8971 GB, free: 72.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006076/1.535, allocations: 4.622 MB / 0.9017 GB, free: 72.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/1.535, allocations: 29.81 kB / 0.9017 GB, free: 72.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.535, allocations: 6.656 kB / 0.9017 GB, free: 72.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/1.535, allocations: 17.3 kB / 0.9017 GB, free: 72.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.549, allocations: 11.13 MB / 0.9126 GB, free: 71.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.549, allocations: 3.688 kB / 0.9126 GB, free: 71.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.551, allocations: 0.5389 MB / 0.9131 GB, free: 71.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/1.553, allocations: 0.5626 MB / 0.9137 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/1.553, allocations: 68.44 kB / 0.9137 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006269/1.559, allocations: 5.182 MB / 0.9188 GB, free: 69.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.559, allocations: 6.531 kB / 0.9188 GB, free: 69.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008306/1.567, allocations: 7.034 MB / 0.9257 GB, free: 68.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.569, allocations: 0.7507 MB / 0.9264 GB, free: 68.65 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/1.569, allocations: 62.09 kB / 0.9265 GB, free: 68.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/1.571, allocations: 156 kB / 0.9266 GB, free: 68.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/1.571, allocations: 210.2 kB / 0.9268 GB, free: 68.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.571, allocations: 86.75 kB / 0.9269 GB, free: 68.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003318/1.575, allocations: 1.977 MB / 0.9288 GB, free: 68.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.575, allocations: 5.844 kB / 0.9288 GB, free: 68.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004275/1.579, allocations: 1.228 MB / 0.93 GB, free: 68.5 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.0006631/1.58, allocations: 441.5 kB / 0.9304 GB, free: 68.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006911/1.587, allocations: 4.993 MB / 0.9353 GB, free: 68.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.587, allocations: 0 / 0.9353 GB, free: 68.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00299/1.59, allocations: 2.258 MB / 0.9375 GB, free: 67.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.592, allocations: 0.5734 MB / 0.9381 GB, free: 67.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/1.61, allocations: 13.8 MB / 0.9516 GB, free: 62.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/1.614, allocations: 4.256 MB / 0.9557 GB, free: 61.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003892/1.618, allocations: 1.401 MB / 0.9571 GB, free: 61.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/1.618, allocations: 273.7 kB / 0.9573 GB, free: 61.64 MB / 474.7 MB Notification: Performance of SimCode: time 6.42e-07/1.618, allocations: 0 / 0.9573 GB, free: 61.64 MB / 474.7 MB Notification: Performance of Templates: time 0.06386/1.682, allocations: 46.12 MB / 1.002 GB, free: 50.97 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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_Slip2 -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_Slip2.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2_model.h:24: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2_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_Slip2_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_Slip2_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_Slip2_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_Slip2_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_Slip2_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_Slip2.o] Error 1