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.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 180.5 kB / 16.39 MB, free: 5.762 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.223/1.223, allocations: 223.2 MB / 240.3 MB, free: 10.13 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.000936/0.0009358, allocations: 81.47 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002729, allocations: 7.984 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2479, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2957/0.5437, allocations: 127.1 MB / 0.5163 GB, free: 98.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5439, allocations: 112.4 kB / 0.5164 GB, free: 98.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052/1.596, allocations: 337.7 MB / 0.8461 GB, free: 36.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.045e-06/1.596, allocations: 0 / 0.8461 GB, free: 36.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007515/1.597, allocations: 209.5 kB / 0.8463 GB, free: 36.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03248/1.629, allocations: 9.391 MB / 0.8555 GB, free: 33.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.629, allocations: 11.69 kB / 0.8555 GB, free: 33.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0235/1.653, allocations: 4.247 MB / 0.8596 GB, free: 32.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02033/1.673, allocations: 8.074 MB / 0.8675 GB, free: 31.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006963/1.674, allocations: 0.6674 MB / 0.8682 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003581/1.678, allocations: 0.8789 MB / 0.869 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/1.716, allocations: 15.59 MB / 0.8843 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004357/1.717, allocations: 11.25 kB / 0.8843 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002859/1.72, allocations: 395.9 kB / 0.8846 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007423/1.721, allocations: 0.7273 MB / 0.8854 GB, free: 30.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/1.749, allocations: 13.77 MB / 0.8988 GB, free: 30.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08192/1.831, allocations: 51.34 MB / 0.9489 GB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02493/1.856, allocations: 26.67 MB / 0.975 GB, free: 8.496 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/1.856, allocations: 165.5 kB / 0.9751 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/1.856, allocations: 84.7 kB / 0.9752 GB, free: 8.254 MB / 474.7 MB Notification: Performance of pre-optimization done (n=404): time 8.365e-06/1.857, allocations: 0 / 0.9752 GB, free: 8.254 MB / 474.7 MB Notification: Performance of matching and sorting (n=410): time 0.04319/1.9, allocations: 17.72 MB / 0.9925 GB, free: 9.465 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/1.9, allocations: 94.59 kB / 0.9926 GB, free: 9.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007436/1.907, allocations: 3.246 MB / 0.9958 GB, free: 6.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008821/1.908, allocations: 93.7 kB / 0.9959 GB, free: 6.516 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003133/1.911, allocations: 3.987 MB / 0.9998 GB, free: 2.984 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001915/1.913, allocations: 1.394 MB / 1.001 GB, free: 1.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/1.914, allocations: 120 kB / 1.001 GB, free: 1.613 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007109/1.915, allocations: 0.5399 MB / 1.002 GB, free: 1.133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01092/1.926, allocations: 3.296 MB / 1.005 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2889/2.215, allocations: 4.966 MB / 1.01 GB, free: 79.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006229/2.221, allocations: 3.979 MB / 1.014 GB, free: 79.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.682e-05/2.221, allocations: 22.77 kB / 1.014 GB, free: 79.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01715/2.239, allocations: 9.117 MB / 1.023 GB, free: 79.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.705e-05/2.239, allocations: 35.34 kB / 1.023 GB, free: 79.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/2.239, allocations: 77.53 kB / 1.023 GB, free: 79.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/2.242, allocations: 1.214 MB / 1.024 GB, free: 79.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005512/2.248, allocations: 1.334 MB / 1.025 GB, free: 79.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/2.261, allocations: 9.39 MB / 1.034 GB, free: 77.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004984/2.266, allocations: 341.3 kB / 1.035 GB, free: 77.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/2.267, allocations: 283.2 kB / 1.035 GB, free: 77.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008002/2.275, allocations: 3.715 MB / 1.039 GB, free: 77.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009985/2.276, allocations: 402.8 kB / 1.039 GB, free: 77.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/2.287, allocations: 6.751 MB / 1.046 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008345/2.295, allocations: 5.624 MB / 1.051 GB, free: 77.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/2.295, allocations: 10.69 kB / 1.051 GB, free: 77.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.357e-05/2.296, allocations: 20.77 kB / 1.051 GB, free: 77.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03581/2.331, allocations: 16.38 MB / 1.067 GB, free: 75.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.312e-05/2.331, allocations: 6.375 kB / 1.067 GB, free: 75.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005377/2.337, allocations: 0.7263 MB / 1.068 GB, free: 75.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004508/2.341, allocations: 1.077 MB / 1.069 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009227/2.342, allocations: 91.09 kB / 1.069 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/2.358, allocations: 8.341 MB / 1.077 GB, free: 71.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/2.358, allocations: 8.094 kB / 1.077 GB, free: 71.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/2.383, allocations: 10.4 MB / 1.087 GB, free: 66.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004431/2.387, allocations: 0.9736 MB / 1.088 GB, free: 66.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001955/2.389, allocations: 83.2 kB / 1.088 GB, free: 66.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004459/2.394, allocations: 211 kB / 1.089 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/2.395, allocations: 289.2 kB / 1.089 GB, free: 66.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009884/2.396, allocations: 120.2 kB / 1.089 GB, free: 66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005255/2.401, allocations: 2.43 MB / 1.091 GB, free: 65.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.401, allocations: 0 / 1.091 GB, free: 65.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00955/2.411, allocations: 1.665 MB / 1.093 GB, free: 64.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (392): * Single equations (assignments): 387 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001636/2.413, allocations: 0.5019 MB / 1.093 GB, free: 64.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01299/2.426, allocations: 7.172 MB / 1.1 GB, free: 62.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/2.426, allocations: 0 / 1.1 GB, free: 62.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006895/2.433, allocations: 3.428 MB / 1.104 GB, free: 60.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/2.438, allocations: 0.8564 MB / 1.105 GB, free: 60.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03752/2.475, allocations: 20.29 MB / 1.124 GB, free: 43.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/2.486, allocations: 6.352 MB / 1.131 GB, free: 38.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00652/2.493, allocations: 1.908 MB / 1.132 GB, free: 37.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/2.495, allocations: 340.5 kB / 1.133 GB, free: 36.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/2.495, allocations: 0 / 1.133 GB, free: 36.9 MB / 490.7 MB Notification: Performance of Templates: time 0.3563/2.851, allocations: 66.78 MB / 1.198 GB, free: 65.68 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_IMC_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.IMC_Characteristics.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_model.h:24: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_functions.h:1025: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.IMC_Characteristics_functions.h:1034: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.IMC_Characteristics.o] Error 1