Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004545/0.004545, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03607/0.03607, allocations: 8.801 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.209/1.209, allocations: 223.2 MB / 250.7 MB, free: 6.539 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.0009062/0.0009062, allocations: 91.69 kB / 304 MB, free: 3.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 12 kB / 367.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2116, allocations: 52.53 MB / 419.6 MB, free: 48.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.3417, allocations: 131.2 MB / 0.5378 GB, free: 5.832 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.342, allocations: 79.97 kB / 0.5379 GB, free: 5.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.205/1.547, allocations: 380 MB / 0.909 GB, free: 53.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/1.547, allocations: 4 kB / 0.909 GB, free: 53.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005621/1.547, allocations: 241.3 kB / 0.9092 GB, free: 53.27 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03121/1.578, allocations: 10.69 MB / 0.9197 GB, free: 50.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.579, allocations: 9.938 kB / 0.9197 GB, free: 50.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02983/1.608, allocations: 5.671 MB / 0.9252 GB, free: 49.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01964/1.628, allocations: 8.963 MB / 0.934 GB, free: 48.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000847/1.629, allocations: 0.771 MB / 0.9347 GB, free: 48.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003705/1.633, allocations: 1.022 MB / 0.9357 GB, free: 48.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03808/1.671, allocations: 18.04 MB / 0.9533 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/1.671, allocations: 14.02 kB / 0.9534 GB, free: 47.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002147/1.673, allocations: 456.5 kB / 0.9538 GB, free: 47.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007347/1.674, allocations: 0.8595 MB / 0.9546 GB, free: 47.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/1.702, allocations: 16.35 MB / 0.9706 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08322/1.785, allocations: 58.45 MB / 1.028 GB, free: 21.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.028/1.813, allocations: 37.29 MB / 1.064 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007357/1.814, allocations: 182.9 kB / 1.064 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.919e-05/1.814, allocations: 92.06 kB / 1.064 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=524): time 7.414e-06/1.814, allocations: 3.469 kB / 1.064 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of matching and sorting (n=530): time 0.04618/1.86, allocations: 21.85 MB / 1.086 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/1.86, allocations: 103.5 kB / 1.086 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005955/1.866, allocations: 3.615 MB / 1.089 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009137/1.867, allocations: 113.7 kB / 1.089 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.2418/2.109, allocations: 4.546 MB / 1.094 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001866/2.111, allocations: 1.79 MB / 1.096 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004774/2.112, allocations: 145.5 kB / 1.096 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003705/2.112, allocations: 0.5919 MB / 1.096 GB, free: 80.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004429/2.116, allocations: 3.481 MB / 1.1 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005902/2.122, allocations: 5.896 MB / 1.105 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006733/2.129, allocations: 4.813 MB / 1.11 GB, free: 77.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.967e-05/2.129, allocations: 19.78 kB / 1.11 GB, free: 77.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01847/2.148, allocations: 11 MB / 1.121 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/2.148, allocations: 38.62 kB / 1.121 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/2.148, allocations: 78.25 kB / 1.121 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/2.151, allocations: 1.39 MB / 1.122 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006144/2.157, allocations: 1.605 MB / 1.124 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/2.172, allocations: 10.93 MB / 1.135 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005605/2.178, allocations: 416.9 kB / 1.135 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/2.179, allocations: 335.8 kB / 1.135 GB, free: 75.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * 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 (844): * Single equations (assignments): 839 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,40.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009082/2.188, allocations: 4.175 MB / 1.139 GB, free: 75.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/2.189, allocations: 477.8 kB / 1.14 GB, free: 75.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/2.203, allocations: 8.542 MB / 1.148 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01003/2.213, allocations: 7.129 MB / 1.155 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/2.214, allocations: 10.56 kB / 1.155 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.933e-05/2.214, allocations: 32.77 kB / 1.155 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03133/2.245, allocations: 19.87 MB / 1.175 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/2.245, allocations: 6.344 kB / 1.175 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/2.249, allocations: 0.9294 MB / 1.176 GB, free: 71.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002911/2.252, allocations: 1.207 MB / 1.177 GB, free: 70.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005269/2.252, allocations: 107.4 kB / 1.177 GB, free: 70.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/2.263, allocations: 9.504 MB / 1.186 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.263, allocations: 3.953 kB / 1.186 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/2.279, allocations: 12.51 MB / 1.198 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/2.282, allocations: 1.16 MB / 1.199 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007623/2.283, allocations: 93.06 kB / 1.2 GB, free: 59.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/2.285, allocations: 282.8 kB / 1.2 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006199/2.286, allocations: 346.6 kB / 1.2 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/2.286, allocations: 153.3 kB / 1.2 GB, free: 59.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003729/2.29, allocations: 2.701 MB / 1.203 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.41e-07/2.29, allocations: 0 / 1.203 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006829/2.296, allocations: 1.976 MB / 1.205 GB, free: 58.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * 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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/2.298, allocations: 0.5687 MB / 1.205 GB, free: 58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01238/2.31, allocations: 8.787 MB / 1.214 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/2.31, allocations: 0 / 1.214 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006579/2.317, allocations: 4.182 MB / 1.218 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004864/2.322, allocations: 0.9871 MB / 1.219 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03184/2.353, allocations: 23.62 MB / 1.242 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00604/2.359, allocations: 7.2 MB / 1.249 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006103/2.366, allocations: 2.334 MB / 1.251 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/2.367, allocations: 415.5 kB / 1.252 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/2.367, allocations: 0 / 1.252 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.3343/2.701, allocations: 79.15 MB / 1.329 GB, free: 62.1 MB / 0.5105 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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_InductionMachines_IMS_Characteristics1 -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.InductionMachines.IMS_Characteristics1.o HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.c In file included from HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.c:7: In file included from ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1_model.h:24: ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1_functions.h:1122:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1_functions.h:1131:1: error: unknown type name '_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower' _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.o] Error 1