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 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_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 3.2.3+maint.om/package.mo): time 0.0009824/0.0009823, allocations: 170.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03814/0.03814, allocations: 8.769 MB / 25.63 MB, free: 3.734 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.447/1.447, allocations: 205.4 MB / 233.9 MB, free: 12.39 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.0008039/0.0008038, allocations: 89.55 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004254, allocations: 12 kB / 344.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2627, allocations: 49.72 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.6232, allocations: 139.7 MB / 0.5217 GB, free: 94.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.6235, allocations: 78.28 kB / 0.5218 GB, free: 94.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6408/1.264, allocations: 223.2 MB / 0.7397 GB, free: 54.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.264, allocations: 0 / 0.7397 GB, free: 54.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004424/1.265, allocations: 144.8 kB / 0.7399 GB, free: 54.84 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.02085/1.286, allocations: 6.588 MB / 0.7463 GB, free: 51.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.286, allocations: 8.25 kB / 0.7463 GB, free: 51.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01913/1.305, allocations: 3.694 MB / 0.7499 GB, free: 51.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/1.315, allocations: 4.962 MB / 0.7548 GB, free: 48.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/1.316, allocations: 0.4887 MB / 0.7552 GB, free: 48.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/1.318, allocations: 0.6264 MB / 0.7558 GB, free: 48.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/1.338, allocations: 11.18 MB / 0.7668 GB, free: 38.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/1.338, allocations: 11.05 kB / 0.7668 GB, free: 38.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007879/1.339, allocations: 279.2 kB / 0.767 GB, free: 38.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003899/1.339, allocations: 0.4906 MB / 0.7675 GB, free: 38.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/1.356, allocations: 10.58 MB / 0.7779 GB, free: 28.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05927/1.416, allocations: 37.92 MB / 0.8149 GB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.263/1.679, allocations: 12.1 MB / 0.8267 GB, free: 60.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006686/1.685, allocations: 4.136 MB / 0.8307 GB, free: 60.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/1.686, allocations: 275.8 kB / 0.831 GB, free: 60.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/1.686, allocations: 77.84 kB / 0.8311 GB, free: 60.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=476): time 8.015e-06/1.686, allocations: 3.125 kB / 0.8311 GB, free: 60.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=482): time 0.04005/1.726, allocations: 19.97 MB / 0.8506 GB, free: 58.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/1.726, allocations: 97.53 kB / 0.8507 GB, free: 58.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00403/1.73, allocations: 2.689 MB / 0.8533 GB, free: 58.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008521/1.731, allocations: 94.2 kB / 0.8534 GB, free: 58.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.733, allocations: 2.601 MB / 0.8559 GB, free: 57.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.734, allocations: 1.607 MB / 0.8575 GB, free: 56.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/1.735, allocations: 100.5 kB / 0.8576 GB, free: 56.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002956/1.735, allocations: 0.5291 MB / 0.8581 GB, free: 56.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/1.739, allocations: 3.158 MB / 0.8612 GB, free: 56.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00469/1.744, allocations: 4.527 MB / 0.8656 GB, free: 54.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009065/1.753, allocations: 7.991 MB / 0.8734 GB, free: 52.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.826e-05/1.753, allocations: 14.66 kB / 0.8734 GB, free: 52.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01381/1.767, allocations: 9.279 MB / 0.8825 GB, free: 49.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/1.767, allocations: 21.81 kB / 0.8825 GB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.942e-05/1.767, allocations: 39.78 kB / 0.8825 GB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004658/1.772, allocations: 1.83 MB / 0.8843 GB, free: 48.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005498/1.777, allocations: 1.11 MB / 0.8854 GB, free: 48.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/1.783, allocations: 5.141 MB / 0.8904 GB, free: 45.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/1.788, allocations: 353.7 kB / 0.8908 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/1.789, allocations: 243.4 kB / 0.891 GB, free: 45.18 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.005732/1.795, allocations: 2.376 MB / 0.8933 GB, free: 43.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.796, allocations: 353.7 kB / 0.8937 GB, free: 43.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.809, allocations: 8.321 MB / 0.9018 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/1.809, allocations: 104.8 kB / 0.9019 GB, free: 40.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.809, allocations: 11.56 kB / 0.9019 GB, free: 40.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/1.809, allocations: 18.98 kB / 0.9019 GB, free: 40.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/1.838, allocations: 17.66 MB / 0.9192 GB, free: 32.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.838, allocations: 4 kB / 0.9192 GB, free: 32.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/1.841, allocations: 0.6909 MB / 0.9198 GB, free: 31.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/1.844, allocations: 1.726 MB / 0.9215 GB, free: 30.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004721/1.844, allocations: 106.5 kB / 0.9216 GB, free: 29.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/1.849, allocations: 5.009 MB / 0.9265 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.849, allocations: 8.969 kB / 0.9265 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.864, allocations: 12.19 MB / 0.9384 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/1.866, allocations: 1.113 MB / 0.9395 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/1.867, allocations: 83.5 kB / 0.9396 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.869, allocations: 233.2 kB / 0.9398 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000589/1.87, allocations: 350 kB / 0.9402 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002772/1.87, allocations: 140.1 kB / 0.9403 GB, free: 12.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00248/1.872, allocations: 1.783 MB / 0.942 GB, free: 11.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.872, allocations: 0 / 0.942 GB, free: 11.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00402/1.877, allocations: 1.309 MB / 0.9433 GB, free: 10.14 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.0007349/1.877, allocations: 455.1 kB / 0.9437 GB, free: 9.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01031/1.888, allocations: 7.54 MB / 0.9511 GB, free: 3.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.258e-05/1.888, allocations: 0 / 0.9511 GB, free: 3.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005369/1.893, allocations: 3.646 MB / 0.9547 GB, free: 124 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008416/1.901, allocations: 0.7848 MB / 0.9554 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/1.927, allocations: 15.84 MB / 0.9709 GB, free: 1.555 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00452/1.931, allocations: 4.321 MB / 0.9751 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004974/1.936, allocations: 1.305 MB / 0.9764 GB, free: 13.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009532/1.937, allocations: 291.6 kB / 0.9767 GB, free: 12.98 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/1.937, allocations: 0 / 0.9767 GB, free: 12.98 MB / 474.7 MB Notification: Performance of Templates: time 0.3529/2.29, allocations: 70.92 MB / 1.046 GB, free: 86.92 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 -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_Slip3 -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_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:26: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3_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_Slip3_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_Slip3_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_Slip3_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_Slip3.o] Error 1