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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0008837/0.0008838, allocations: 174 kB / 16.11 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03775/0.03775, allocations: 8.767 MB / 25.64 MB, free: 3.809 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 233.9 MB, free: 12.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000795/0.0007951, allocations: 90.28 kB / 284.4 MB, free: 14.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004323, allocations: 16 kB / 344.8 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2365, allocations: 49.71 MB / 394.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.6011, allocations: 139.7 MB / 0.5217 GB, free: 94.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.6014, allocations: 81.77 kB / 0.5218 GB, free: 94.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6402/1.242, allocations: 223.2 MB / 0.7397 GB, free: 54.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.242, allocations: 0 / 0.7397 GB, free: 54.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005967/1.242, allocations: 143.9 kB / 0.7399 GB, free: 54.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.02387/1.266, allocations: 6.588 MB / 0.7463 GB, free: 51.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.266, allocations: 15.34 kB / 0.7463 GB, free: 51.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/1.287, allocations: 3.689 MB / 0.7499 GB, free: 51.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/1.3, allocations: 4.969 MB / 0.7548 GB, free: 48.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006964/1.301, allocations: 497.7 kB / 0.7552 GB, free: 48.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003015/1.304, allocations: 0.6361 MB / 0.7559 GB, free: 48.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/1.328, allocations: 11.17 MB / 0.7668 GB, free: 38.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002365/1.328, allocations: 11.91 kB / 0.7668 GB, free: 38.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00128/1.33, allocations: 272.9 kB / 0.767 GB, free: 38.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004457/1.33, allocations: 0.4957 MB / 0.7675 GB, free: 37.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/1.349, allocations: 10.58 MB / 0.7778 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05516/1.404, allocations: 37.93 MB / 0.8149 GB, free: 5.586 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2372/1.641, allocations: 12.1 MB / 0.8267 GB, free: 60.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006374/1.647, allocations: 4.138 MB / 0.8307 GB, free: 60.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/1.648, allocations: 273.8 kB / 0.831 GB, free: 60.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/1.648, allocations: 78.98 kB / 0.8311 GB, free: 60.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=476): time 7.203e-06/1.648, allocations: 0 / 0.8311 GB, free: 60.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=482): time 0.0377/1.686, allocations: 19.96 MB / 0.8506 GB, free: 58.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/1.686, allocations: 99.56 kB / 0.8507 GB, free: 58.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/1.69, allocations: 2.682 MB / 0.8533 GB, free: 58.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006654/1.69, allocations: 97.48 kB / 0.8534 GB, free: 58.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.692, allocations: 2.606 MB / 0.8559 GB, free: 57.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001525/1.693, allocations: 1.599 MB / 0.8575 GB, free: 56.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/1.694, allocations: 106.7 kB / 0.8576 GB, free: 56.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002832/1.694, allocations: 0.522 MB / 0.8581 GB, free: 55.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004225/1.698, allocations: 3.166 MB / 0.8612 GB, free: 55.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004939/1.703, allocations: 4.522 MB / 0.8656 GB, free: 54.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.713, allocations: 7.998 MB / 0.8734 GB, free: 52.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.157e-05/1.713, allocations: 13.84 kB / 0.8734 GB, free: 52.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01443/1.728, allocations: 9.285 MB / 0.8825 GB, free: 48.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/1.728, allocations: 21.06 kB / 0.8825 GB, free: 48.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.728, allocations: 43.19 kB / 0.8826 GB, free: 48.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/1.731, allocations: 1.816 MB / 0.8843 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/1.736, allocations: 1.121 MB / 0.8854 GB, free: 48.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/1.742, allocations: 5.14 MB / 0.8905 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/1.747, allocations: 354 kB / 0.8908 GB, free: 45.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.749, allocations: 239.7 kB / 0.891 GB, free: 45.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (581): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 45} Notification: Performance of prepare postOptimizeDAE: time 0.006648/1.755, allocations: 2.376 MB / 0.8933 GB, free: 43.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.757, allocations: 355 kB / 0.8937 GB, free: 43.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/1.772, allocations: 8.321 MB / 0.9018 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/1.772, allocations: 104 kB / 0.9019 GB, free: 40.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/1.773, allocations: 7.375 kB / 0.9019 GB, free: 40.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-05/1.773, allocations: 19.73 kB / 0.9019 GB, free: 40.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03586/1.808, allocations: 17.65 MB / 0.9192 GB, free: 31.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/1.809, allocations: 4 kB / 0.9192 GB, free: 31.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/1.812, allocations: 0.6922 MB / 0.9198 GB, free: 31.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/1.815, allocations: 1.731 MB / 0.9215 GB, free: 29.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007996/1.816, allocations: 106.1 kB / 0.9216 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/1.82, allocations: 4.998 MB / 0.9265 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.821, allocations: 13.25 kB / 0.9265 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/1.838, allocations: 12.2 MB / 0.9384 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002804/1.841, allocations: 1.105 MB / 0.9395 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.842, allocations: 83.27 kB / 0.9396 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/1.845, allocations: 231.9 kB / 0.9398 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008646/1.846, allocations: 350.3 kB / 0.9402 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004859/1.847, allocations: 135.1 kB / 0.9403 GB, free: 12.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00354/1.85, allocations: 1.786 MB / 0.942 GB, free: 11.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.85, allocations: 4 kB / 0.942 GB, free: 11.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006922/1.857, allocations: 1.316 MB / 0.9433 GB, free: 9.883 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (376): * Single equations (assignments): 344 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/1.859, allocations: 442.6 kB / 0.9437 GB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01251/1.871, allocations: 7.543 MB / 0.9511 GB, free: 3.051 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.871, allocations: 7.719 kB / 0.9511 GB, free: 3.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006108/1.877, allocations: 3.641 MB / 0.9547 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006286/1.884, allocations: 0.6384 MB / 0.9553 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03098/1.915, allocations: 15.83 MB / 0.9707 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009984/1.925, allocations: 4.498 MB / 0.9751 GB, free: 13.94 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006137/1.931, allocations: 1.304 MB / 0.9764 GB, free: 13.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/1.933, allocations: 292.8 kB / 0.9767 GB, free: 12.78 MB / 474.7 MB Notification: Performance of SimCode: time 8.41e-07/1.933, allocations: 0 / 0.9767 GB, free: 12.78 MB / 474.7 MB Notification: Performance of Templates: time 0.3432/2.276, allocations: 70.91 MB / 1.046 GB, free: 86.63 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 -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -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:26: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_functions.h:860: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:869: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:878: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:887: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); ^ 4 errors generated. make: *** [: HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.o] Error 1