Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.000807/0.000807, allocations: 91.69 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002685, allocations: 4 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2526, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.6109, allocations: 131.7 MB / 0.5207 GB, free: 94.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.6112, allocations: 114.4 kB / 0.5208 GB, free: 94.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224/1.835, allocations: 379.6 MB / 0.8915 GB, free: 50.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.835, allocations: 0 / 0.8915 GB, free: 50.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00096/1.836, allocations: 241.7 kB / 0.8918 GB, free: 50.12 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03989/1.876, allocations: 10.69 MB / 0.9022 GB, free: 46.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.876, allocations: 10.28 kB / 0.9022 GB, free: 46.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03221/1.908, allocations: 5.678 MB / 0.9078 GB, free: 46.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02367/1.932, allocations: 8.962 MB / 0.9165 GB, free: 44.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009137/1.933, allocations: 0.7723 MB / 0.9173 GB, free: 44.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004864/1.938, allocations: 1.019 MB / 0.9183 GB, free: 44.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04687/1.985, allocations: 18.04 MB / 0.9359 GB, free: 38.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007392/1.986, allocations: 7.812 kB / 0.9359 GB, free: 38.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00479/1.991, allocations: 450 kB / 0.9363 GB, free: 38.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/1.992, allocations: 0.8681 MB / 0.9372 GB, free: 38.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0354/2.027, allocations: 16.34 MB / 0.9531 GB, free: 24.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4509/2.478, allocations: 58.42 MB / 1.01 GB, free: 41.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02982/2.508, allocations: 37.3 MB / 1.047 GB, free: 27.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007714/2.509, allocations: 187.8 kB / 1.047 GB, free: 27.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/2.509, allocations: 90.08 kB / 1.047 GB, free: 27.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 7.344e-06/2.509, allocations: 0 / 1.047 GB, free: 27.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.04427/2.553, allocations: 21.85 MB / 1.068 GB, free: 25.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/2.553, allocations: 106.4 kB / 1.068 GB, free: 25.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006634/2.56, allocations: 3.587 MB / 1.072 GB, free: 24.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001157/2.561, allocations: 111.6 kB / 1.072 GB, free: 24.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002971/2.564, allocations: 4.504 MB / 1.076 GB, free: 22.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002354/2.566, allocations: 1.796 MB / 1.078 GB, free: 21.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/2.567, allocations: 145.8 kB / 1.078 GB, free: 21.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004974/2.567, allocations: 0.5974 MB / 1.079 GB, free: 20.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005133/2.572, allocations: 3.471 MB / 1.082 GB, free: 20.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006233/2.579, allocations: 5.896 MB / 1.088 GB, free: 17.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007492/2.586, allocations: 4.808 MB / 1.093 GB, free: 17.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.463e-05/2.586, allocations: 22.19 kB / 1.093 GB, free: 17.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02246/2.609, allocations: 11 MB / 1.103 GB, free: 17.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/2.609, allocations: 36.44 kB / 1.103 GB, free: 17.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/2.609, allocations: 80.19 kB / 1.104 GB, free: 17.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003753/2.613, allocations: 1.404 MB / 1.105 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007175/2.62, allocations: 1.605 MB / 1.106 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/2.638, allocations: 10.93 MB / 1.117 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008107/2.646, allocations: 420 kB / 1.118 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002189/2.648, allocations: 337.8 kB / 1.118 GB, free: 31.64 MB / 0.4948 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,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01146/2.66, allocations: 4.168 MB / 1.122 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002227/2.662, allocations: 479.3 kB / 1.122 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/2.681, allocations: 8.566 MB / 1.131 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01336/2.695, allocations: 7.122 MB / 1.138 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/2.695, allocations: 11.88 kB / 1.138 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.851e-05/2.695, allocations: 26.72 kB / 1.138 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04491/2.74, allocations: 19.84 MB / 1.157 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/2.74, allocations: 4 kB / 1.157 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004397/2.744, allocations: 0.9331 MB / 1.158 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/2.748, allocations: 1.211 MB / 1.159 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/2.749, allocations: 114.4 kB / 1.159 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/2.763, allocations: 9.506 MB / 1.169 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/2.763, allocations: 1.406 kB / 1.169 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03054/2.794, allocations: 13.1 MB / 1.181 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004665/2.799, allocations: 1.158 MB / 1.183 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/2.8, allocations: 92 kB / 1.183 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003077/2.803, allocations: 289.6 kB / 1.183 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007694/2.804, allocations: 346.8 kB / 1.183 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003267/2.804, allocations: 147.5 kB / 1.183 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005012/2.809, allocations: 2.69 MB / 1.186 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/2.809, allocations: 0 / 1.186 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01056/2.82, allocations: 1.969 MB / 1.188 GB, free: 5.375 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.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/2.822, allocations: 0.5818 MB / 1.188 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3207/3.142, allocations: 8.94 MB / 1.197 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/3.143, allocations: 3.188 kB / 1.197 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007685/3.15, allocations: 4.206 MB / 1.201 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005559/3.156, allocations: 0.9928 MB / 1.202 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03986/3.196, allocations: 23.62 MB / 1.225 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008613/3.204, allocations: 7.193 MB / 1.232 GB, free: 97.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007056/3.211, allocations: 2.335 MB / 1.235 GB, free: 97.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/3.213, allocations: 419.2 kB / 1.235 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/3.213, allocations: 0 / 1.235 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.1221/3.335, allocations: 78.79 MB / 1.312 GB, free: 78.11 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics -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 Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_model.h:24: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_functions.h:1122:1: error: unknown type name '_omcQComplexOutput_24iSensorQS_24currentSensor_24i' _omcQComplexOutput_24iSensorQS_24currentSensor_24i omc__omcQComplexOutput_24iSensorQS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_functions.h:1131:1: error: unknown type name '_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower' _omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower omc__omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.o] Error 1