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 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_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 3.2.3+maint.om/package.mo): time 0.0009871/0.0009872, allocations: 170.1 kB / 16.11 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03767/0.03767, allocations: 8.771 MB / 25.64 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.539/1.539, allocations: 205.4 MB / 233.9 MB, free: 14.55 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.00081/0.00081, allocations: 94.23 kB / 284.4 MB, free: 14.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.00048, allocations: 16 kB / 344.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 49.71 MB / 394.5 MB, free: 36.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.6399, allocations: 139.7 MB / 0.5217 GB, free: 94.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.6402, allocations: 81.09 kB / 0.5218 GB, free: 94.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6398/1.28, allocations: 223.2 MB / 0.7397 GB, free: 54.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/1.28, allocations: 3.938 kB / 0.7397 GB, free: 54.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004208/1.28, allocations: 143.4 kB / 0.7399 GB, free: 54.95 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.02061/1.301, allocations: 6.589 MB / 0.7463 GB, free: 51.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.301, allocations: 15.72 kB / 0.7463 GB, free: 51.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02023/1.321, allocations: 3.69 MB / 0.7499 GB, free: 51.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/1.333, allocations: 4.956 MB / 0.7548 GB, free: 48.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004783/1.333, allocations: 499.7 kB / 0.7552 GB, free: 48.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/1.336, allocations: 0.6342 MB / 0.7559 GB, free: 48.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/1.356, allocations: 11.18 MB / 0.7668 GB, free: 38.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/1.356, allocations: 7.906 kB / 0.7668 GB, free: 38.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008393/1.357, allocations: 277.2 kB / 0.767 GB, free: 38.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000377/1.357, allocations: 0.4904 MB / 0.7675 GB, free: 38.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/1.377, allocations: 10.58 MB / 0.7779 GB, free: 28.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06234/1.439, allocations: 37.91 MB / 0.8149 GB, free: 5.727 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2703/1.71, allocations: 12.11 MB / 0.8267 GB, free: 60.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0064/1.716, allocations: 4.137 MB / 0.8307 GB, free: 60.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/1.717, allocations: 276.7 kB / 0.831 GB, free: 60.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/1.717, allocations: 75.86 kB / 0.8311 GB, free: 60.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=476): time 6.573e-06/1.717, allocations: 0 / 0.8311 GB, free: 60.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=482): time 0.03805/1.755, allocations: 19.97 MB / 0.8506 GB, free: 58.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/1.755, allocations: 94.47 kB / 0.8507 GB, free: 58.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/1.759, allocations: 2.685 MB / 0.8533 GB, free: 58.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.76, allocations: 97.8 kB / 0.8534 GB, free: 58.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.762, allocations: 2.602 MB / 0.8559 GB, free: 57.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00198/1.764, allocations: 1.609 MB / 0.8575 GB, free: 56.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/1.764, allocations: 99.31 kB / 0.8576 GB, free: 56.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004353/1.764, allocations: 0.5277 MB / 0.8581 GB, free: 56.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/1.769, allocations: 3.163 MB / 0.8612 GB, free: 56.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005809/1.775, allocations: 4.522 MB / 0.8656 GB, free: 54.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/1.787, allocations: 7.999 MB / 0.8734 GB, free: 52.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.164e-05/1.787, allocations: 15.34 kB / 0.8734 GB, free: 52.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01636/1.803, allocations: 9.28 MB / 0.8825 GB, free: 49.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/1.803, allocations: 21.22 kB / 0.8825 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/1.803, allocations: 40.27 kB / 0.8826 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/1.807, allocations: 1.822 MB / 0.8843 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004758/1.811, allocations: 1.113 MB / 0.8854 GB, free: 48.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/1.817, allocations: 5.138 MB / 0.8904 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/1.821, allocations: 351.4 kB / 0.8908 GB, free: 45.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009265/1.822, allocations: 245.9 kB / 0.891 GB, free: 45.21 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.005126/1.827, allocations: 2.37 MB / 0.8933 GB, free: 44.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008299/1.828, allocations: 355.1 kB / 0.8937 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.84, allocations: 8.327 MB / 0.9018 GB, free: 40.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.718e-05/1.84, allocations: 107.9 kB / 0.9019 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/1.84, allocations: 7.938 kB / 0.9019 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/1.84, allocations: 19.22 kB / 0.9019 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02399/1.864, allocations: 17.65 MB / 0.9192 GB, free: 32.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/1.864, allocations: 8 kB / 0.9192 GB, free: 32.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/1.867, allocations: 0.6926 MB / 0.9198 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/1.87, allocations: 1.726 MB / 0.9215 GB, free: 30.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005832/1.87, allocations: 111.7 kB / 0.9216 GB, free: 30.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/1.875, allocations: 4.998 MB / 0.9265 GB, free: 25.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.875, allocations: 14.39 kB / 0.9265 GB, free: 25.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.89, allocations: 12.19 MB / 0.9384 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.892, allocations: 1.107 MB / 0.9395 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007024/1.893, allocations: 87.59 kB / 0.9396 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.895, allocations: 222.6 kB / 0.9398 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005705/1.895, allocations: 354.8 kB / 0.9402 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002744/1.896, allocations: 135.2 kB / 0.9403 GB, free: 13.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002346/1.898, allocations: 1.791 MB / 0.942 GB, free: 11.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.898, allocations: 0 / 0.942 GB, free: 11.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004105/1.902, allocations: 1.312 MB / 0.9433 GB, free: 10.23 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.0007704/1.903, allocations: 447.6 kB / 0.9437 GB, free: 9.898 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01072/1.914, allocations: 7.548 MB / 0.9511 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.914, allocations: 0.9375 kB / 0.9511 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005074/1.919, allocations: 3.643 MB / 0.9547 GB, free: 224 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006188/1.925, allocations: 0.7357 MB / 0.9554 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.952, allocations: 15.85 MB / 0.9709 GB, free: 1.562 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005348/1.957, allocations: 4.323 MB / 0.9751 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004649/1.962, allocations: 1.304 MB / 0.9764 GB, free: 13.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009812/1.963, allocations: 295.8 kB / 0.9766 GB, free: 12.98 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/1.963, allocations: 0 / 0.9766 GB, free: 12.98 MB / 474.7 MB Notification: Performance of Templates: time 0.3574/2.32, allocations: 70.91 MB / 1.046 GB, free: 86.75 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 -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_Slip2 -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_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:26: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2_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_Slip2_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_Slip2_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_Slip2_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_Slip2.o] Error 1