Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004724/0.004724, allocations: 172 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03641/0.03641, allocations: 8.8 MB / 24.65 MB, free: 4.121 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.21/1.21, allocations: 223.2 MB / 250.7 MB, free: 6.559 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.0008689/0.000869, allocations: 107.1 kB / 304 MB, free: 4 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 12 kB / 367.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.232, allocations: 52.54 MB / 419.6 MB, free: 48.06 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.3648, allocations: 132.1 MB / 0.5388 GB, free: 4.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.3651, allocations: 84.81 kB / 0.5388 GB, free: 4.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.975/1.34, allocations: 354.8 MB / 0.8853 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.34, allocations: 0 / 0.8853 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005815/1.341, allocations: 219.8 kB / 0.8855 GB, free: 0.6328 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03222/1.373, allocations: 10 MB / 0.8953 GB, free: 6.535 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.373, allocations: 12.03 kB / 0.8953 GB, free: 6.523 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02273/1.396, allocations: 4.307 MB / 0.8995 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4113/1.807, allocations: 8.463 MB / 0.9078 GB, free: 41.23 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/1.808, allocations: 0.6865 MB / 0.9084 GB, free: 41.21 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002816/1.811, allocations: 0.906 MB / 0.9093 GB, free: 41.21 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0279/1.838, allocations: 15.96 MB / 0.9249 GB, free: 40.13 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000262/1.839, allocations: 11.28 kB / 0.9249 GB, free: 40.13 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001589/1.84, allocations: 396.7 kB / 0.9253 GB, free: 40.13 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006262/1.841, allocations: 0.7502 MB / 0.926 GB, free: 40.11 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02688/1.868, allocations: 14.07 MB / 0.9398 GB, free: 40.01 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07487/1.943, allocations: 52.53 MB / 0.9911 GB, free: 22.3 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.957, allocations: 20.09 MB / 1.011 GB, free: 5.75 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/1.958, allocations: 182.6 kB / 1.011 GB, free: 5.645 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/1.958, allocations: 76.28 kB / 1.011 GB, free: 5.574 MB / 474.8 MB Notification: Performance of pre-optimization done (n=453): time 7.043e-06/1.958, allocations: 0 / 1.011 GB, free: 5.574 MB / 474.8 MB Notification: Performance of matching and sorting (n=458): time 0.04468/2.003, allocations: 20.83 MB / 1.031 GB, free: 13.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/2.003, allocations: 97.88 kB / 1.031 GB, free: 13.52 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/2.009, allocations: 3.969 MB / 1.035 GB, free: 12.05 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006014/2.009, allocations: 100.3 kB / 1.035 GB, free: 11.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002785/2.012, allocations: 4.185 MB / 1.039 GB, free: 8.824 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001866/2.014, allocations: 1.556 MB / 1.041 GB, free: 7.621 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/2.014, allocations: 133.4 kB / 1.041 GB, free: 7.52 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003728/2.015, allocations: 0.5588 MB / 1.042 GB, free: 7.102 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004333/2.019, allocations: 3.069 MB / 1.045 GB, free: 5.91 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005792/2.025, allocations: 5.185 MB / 1.05 GB, free: 1.992 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/2.031, allocations: 4.267 MB / 1.054 GB, free: 132 kB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.685e-05/2.031, allocations: 19.44 kB / 1.054 GB, free: 132 kB / 490.8 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02312/2.054, allocations: 10.14 MB / 1.064 GB, free: 9.074 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/2.054, allocations: 39.61 kB / 1.064 GB, free: 9.039 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/2.054, allocations: 70.62 kB / 1.064 GB, free: 8.973 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/2.058, allocations: 1.402 MB / 1.065 GB, free: 7.891 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005695/2.064, allocations: 1.38 MB / 1.067 GB, free: 6.809 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/2.081, allocations: 12 MB / 1.078 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004776/2.086, allocations: 358.7 kB / 1.079 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/2.087, allocations: 294.5 kB / 1.079 GB, free: 11.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * 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 (723): * Single equations (assignments): 717 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.4%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007691/2.095, allocations: 3.89 MB / 1.083 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/2.096, allocations: 465.8 kB / 1.083 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/2.111, allocations: 8.577 MB / 1.092 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.24/2.351, allocations: 6.745 MB / 1.098 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/2.351, allocations: 13.75 kB / 1.098 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4e-05/2.351, allocations: 25.22 kB / 1.098 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02916/2.38, allocations: 17.92 MB / 1.116 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/2.38, allocations: 6.938 kB / 1.116 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/2.383, allocations: 0.7929 MB / 1.116 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/2.387, allocations: 1.271 MB / 1.118 GB, free: 79.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000393/2.387, allocations: 103.8 kB / 1.118 GB, free: 79.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/2.403, allocations: 10.88 MB / 1.128 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/2.404, allocations: 13.44 kB / 1.128 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/2.419, allocations: 12.03 MB / 1.14 GB, free: 75.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003184/2.423, allocations: 1.137 MB / 1.141 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009014/2.424, allocations: 85.38 kB / 1.141 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/2.426, allocations: 248.8 kB / 1.142 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006429/2.427, allocations: 324.2 kB / 1.142 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/2.427, allocations: 136.1 kB / 1.142 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00411/2.431, allocations: 3.035 MB / 1.145 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/2.431, allocations: 0 / 1.145 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006565/2.438, allocations: 1.789 MB / 1.147 GB, free: 75.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * 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 (418): * Single equations (assignments): 412 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,41.8%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/2.439, allocations: 0.7784 MB / 1.148 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01199/2.451, allocations: 7.987 MB / 1.155 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/2.451, allocations: 7.031 kB / 1.155 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006248/2.458, allocations: 4 MB / 1.159 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/2.462, allocations: 0.9328 MB / 1.16 GB, free: 74.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03493/2.497, allocations: 22.09 MB / 1.182 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/2.509, allocations: 6.671 MB / 1.188 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007217/2.516, allocations: 2.134 MB / 1.19 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/2.518, allocations: 385.9 kB / 1.191 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of SimCode: time 9.51e-07/2.518, allocations: 4 kB / 1.191 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.1079/2.626, allocations: 72.91 MB / 1.262 GB, free: 30.18 MB / 0.5105 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.o HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.c In file included from HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.c:7: In file included from ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses_model.h:24: ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses_functions.h:1036:1: error: unknown type name '_omcQComplexOutput_24currentRMSSensor_24currentSensor_24i' _omcQComplexOutput_24currentRMSSensor_24currentSensor_24i omc__omcQComplexOutput_24currentRMSSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses_functions.h:1045:1: error: unknown type name '_omcQComplexOutput_24electricalPowerSensor_24powerSensor_24apparentPower' _omcQComplexOutput_24electricalPowerSensor_24powerSensor_24apparentPower omc__omcQComplexOutput_24electricalPowerSensor_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.o] Error 1