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.001424/0.001424, allocations: 175.7 kB / 17.4 MB, free: 4.418 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.285/1.285, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0008184/0.0008185, allocations: 93.98 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 11.94 kB / 352.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2111, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2788/0.4899, allocations: 127.4 MB / 0.5178 GB, free: 98.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4902, allocations: 106.8 kB / 0.5179 GB, free: 98.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9714/1.462, allocations: 334.5 MB / 0.8445 GB, free: 50.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.614e-06/1.462, allocations: 0 / 0.8445 GB, free: 50.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007459/1.462, allocations: 208.6 kB / 0.8447 GB, free: 50.72 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03021/1.493, allocations: 9.304 MB / 0.8538 GB, free: 47.87 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.493, allocations: 9.719 kB / 0.8538 GB, free: 47.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.022/1.515, allocations: 4.235 MB / 0.8579 GB, free: 47.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.531, allocations: 7.431 MB / 0.8652 GB, free: 46.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007614/1.532, allocations: 0.6732 MB / 0.8658 GB, free: 46.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003641/1.535, allocations: 0.8801 MB / 0.8667 GB, free: 46.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/1.571, allocations: 15.66 MB / 0.882 GB, free: 45.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004853/1.572, allocations: 18.91 kB / 0.882 GB, free: 45.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004097/1.576, allocations: 389.4 kB / 0.8824 GB, free: 45.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009804/1.577, allocations: 0.7259 MB / 0.8831 GB, free: 45.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02923/1.606, allocations: 13.76 MB / 0.8965 GB, free: 45.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08101/1.687, allocations: 51.37 MB / 0.9467 GB, free: 18.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02467/1.712, allocations: 26.42 MB / 0.9725 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006063/1.718, allocations: 3.229 MB / 0.9756 GB, free: 6.402 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/1.719, allocations: 166.2 kB / 0.9758 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/1.719, allocations: 77.7 kB / 0.9759 GB, free: 6.164 MB / 474.7 MB Notification: Performance of pre-optimization done (n=404): time 8.996e-06/1.719, allocations: 0 / 0.9759 GB, free: 6.164 MB / 474.7 MB Notification: Performance of matching and sorting (n=410): time 0.04187/1.761, allocations: 17.38 MB / 0.9928 GB, free: 7.688 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/1.761, allocations: 90.59 kB / 0.9929 GB, free: 7.586 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007548/1.769, allocations: 3.619 MB / 0.9965 GB, free: 4.547 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007536/1.769, allocations: 93.7 kB / 0.9965 GB, free: 4.449 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002878/1.772, allocations: 3.987 MB / 1 GB, free: 0.918 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2698/2.042, allocations: 1.385 MB / 1.002 GB, free: 80.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005358/2.043, allocations: 116.7 kB / 1.002 GB, free: 80.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004214/2.043, allocations: 0.5427 MB / 1.002 GB, free: 80.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004726/2.048, allocations: 2.81 MB / 1.005 GB, free: 80.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004581/2.052, allocations: 4.97 MB / 1.01 GB, free: 77.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008631/2.061, allocations: 8.342 MB / 1.018 GB, free: 75.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.962e-05/2.061, allocations: 21.56 kB / 1.018 GB, free: 75.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01432/2.075, allocations: 9.101 MB / 1.027 GB, free: 74.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/2.076, allocations: 39.09 kB / 1.027 GB, free: 74.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/2.076, allocations: 70.53 kB / 1.027 GB, free: 74.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/2.078, allocations: 1.209 MB / 1.028 GB, free: 74.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/2.083, allocations: 1.314 MB / 1.03 GB, free: 74.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/2.094, allocations: 9.111 MB / 1.039 GB, free: 73.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/2.098, allocations: 344 kB / 1.039 GB, free: 73.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005681/2.099, allocations: 289.3 kB / 1.039 GB, free: 73.43 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.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006219/2.105, allocations: 3.708 MB / 1.043 GB, free: 73.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007421/2.106, allocations: 398.3 kB / 1.043 GB, free: 73.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/2.116, allocations: 6.699 MB / 1.05 GB, free: 73.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007491/2.123, allocations: 5.595 MB / 1.055 GB, free: 72.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/2.123, allocations: 14.59 kB / 1.055 GB, free: 72.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.255e-05/2.123, allocations: 20.58 kB / 1.055 GB, free: 72.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02289/2.146, allocations: 16.35 MB / 1.071 GB, free: 70.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/2.146, allocations: 3.969 kB / 1.071 GB, free: 70.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/2.149, allocations: 0.7221 MB / 1.072 GB, free: 70.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002643/2.152, allocations: 1.092 MB / 1.073 GB, free: 70.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/2.152, allocations: 90.03 kB / 1.073 GB, free: 70.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009699/2.162, allocations: 8.057 MB / 1.081 GB, free: 65.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/2.162, allocations: 10.25 kB / 1.081 GB, free: 65.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/2.176, allocations: 9.898 MB / 1.091 GB, free: 61.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/2.179, allocations: 0.9669 MB / 1.092 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/2.18, allocations: 76.12 kB / 1.092 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/2.182, allocations: 218.2 kB / 1.092 GB, free: 60.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005882/2.182, allocations: 288.1 kB / 1.092 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/2.183, allocations: 119 kB / 1.092 GB, free: 60.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003364/2.186, allocations: 2.435 MB / 1.095 GB, free: 59.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.186, allocations: 4 kB / 1.095 GB, free: 59.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005154/2.191, allocations: 1.657 MB / 1.096 GB, free: 59.47 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,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000743/2.192, allocations: 0.5027 MB / 1.097 GB, free: 59.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/2.202, allocations: 7.131 MB / 1.104 GB, free: 56.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/2.202, allocations: 3.531 kB / 1.104 GB, free: 56.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004594/2.207, allocations: 3.392 MB / 1.107 GB, free: 55.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005736/2.212, allocations: 0.9233 MB / 1.108 GB, free: 54.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/2.236, allocations: 19.73 MB / 1.127 GB, free: 36.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006152/2.242, allocations: 6.199 MB / 1.133 GB, free: 31.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005138/2.247, allocations: 1.912 MB / 1.135 GB, free: 30.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008895/2.248, allocations: 338.8 kB / 1.135 GB, free: 30.1 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/2.248, allocations: 0 / 1.135 GB, free: 30.1 MB / 490.7 MB Notification: Performance of Templates: time 0.3448/2.593, allocations: 67.28 MB / 1.201 GB, free: 60.06 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 -Wno-parentheses-equality -Os -march=native -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=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:26: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_functions.h:961: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:970: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