Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009914/0.0009914, allocations: 197.4 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007873/0.0007874, allocations: 101.8 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.000267, allocations: 4 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2147, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2864/0.5012, allocations: 128.1 MB / 0.525 GB, free: 88.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5015, allocations: 105.1 kB / 0.5251 GB, free: 88.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.038/1.539, allocations: 351.8 MB / 0.8686 GB, free: 39.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.539, allocations: 0 / 0.8686 GB, free: 39.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007759/1.54, allocations: 207.8 kB / 0.8688 GB, free: 39.43 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.03033/1.57, allocations: 9.343 MB / 0.8779 GB, free: 36.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.571, allocations: 13.09 kB / 0.8779 GB, free: 36.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02214/1.593, allocations: 4.233 MB / 0.882 GB, free: 36.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/1.608, allocations: 7.426 MB / 0.8893 GB, free: 35.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006942/1.609, allocations: 0.674 MB / 0.89 GB, free: 35.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004613/1.614, allocations: 0.8817 MB / 0.8908 GB, free: 35.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03705/1.651, allocations: 15.66 MB / 0.9061 GB, free: 33.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004667/1.651, allocations: 20.22 kB / 0.9061 GB, free: 33.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003112/1.654, allocations: 387.3 kB / 0.9065 GB, free: 33.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007893/1.655, allocations: 0.734 MB / 0.9072 GB, free: 33.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02754/1.683, allocations: 13.75 MB / 0.9206 GB, free: 33.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08551/1.768, allocations: 52.43 MB / 0.9718 GB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02024/1.789, allocations: 26.41 MB / 0.9976 GB, free: 80 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009953/1.799, allocations: 3.604 MB / 1.001 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/1.799, allocations: 249.7 kB / 1.001 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/1.799, allocations: 74.64 kB / 1.001 GB, free: 14.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=404): time 6.282e-06/1.799, allocations: 0 / 1.001 GB, free: 14.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=410): time 0.03768/1.837, allocations: 17.38 MB / 1.018 GB, free: 244 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/1.837, allocations: 90.59 kB / 1.019 GB, free: 140 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2561/2.093, allocations: 3.687 MB / 1.022 GB, free: 70.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007411/2.094, allocations: 91.27 kB / 1.022 GB, free: 70.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/2.096, allocations: 3.99 MB / 1.026 GB, free: 69.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/2.097, allocations: 1.394 MB / 1.027 GB, free: 68.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/2.097, allocations: 118 kB / 1.028 GB, free: 68.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002704/2.098, allocations: 0.5397 MB / 1.028 GB, free: 68.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004206/2.102, allocations: 2.81 MB / 1.031 GB, free: 68.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005073/2.107, allocations: 4.965 MB / 1.036 GB, free: 65.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/2.118, allocations: 8.345 MB / 1.044 GB, free: 62.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-05/2.118, allocations: 18.44 kB / 1.044 GB, free: 62.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01553/2.134, allocations: 9.1 MB / 1.053 GB, free: 62.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/2.134, allocations: 35.25 kB / 1.053 GB, free: 62.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/2.134, allocations: 72.19 kB / 1.053 GB, free: 62.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/2.137, allocations: 1.207 MB / 1.054 GB, free: 62.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/2.141, allocations: 1.314 MB / 1.055 GB, free: 62.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/2.153, allocations: 9.121 MB / 1.064 GB, free: 60.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/2.158, allocations: 338.2 kB / 1.065 GB, free: 60.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/2.159, allocations: 284.5 kB / 1.065 GB, free: 60.92 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.008029/2.168, allocations: 3.716 MB / 1.068 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/2.169, allocations: 398.2 kB / 1.069 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/2.181, allocations: 6.703 MB / 1.075 GB, free: 60.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008675/2.19, allocations: 5.6 MB / 1.081 GB, free: 60.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/2.19, allocations: 7.594 kB / 1.081 GB, free: 60.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/2.19, allocations: 23.81 kB / 1.081 GB, free: 60.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02894/2.219, allocations: 16.36 MB / 1.097 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/2.219, allocations: 7.156 kB / 1.097 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002787/2.222, allocations: 0.7146 MB / 1.098 GB, free: 56.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003/2.225, allocations: 1.094 MB / 1.099 GB, free: 56.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005894/2.225, allocations: 87.56 kB / 1.099 GB, free: 55.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/2.237, allocations: 8.068 MB / 1.107 GB, free: 51.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.237, allocations: 3.812 kB / 1.107 GB, free: 51.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/2.252, allocations: 9.891 MB / 1.116 GB, free: 47.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002971/2.255, allocations: 0.9766 MB / 1.117 GB, free: 46.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/2.256, allocations: 81.31 kB / 1.117 GB, free: 46.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/2.259, allocations: 205.9 kB / 1.117 GB, free: 46.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006986/2.259, allocations: 289.7 kB / 1.118 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003428/2.26, allocations: 122.5 kB / 1.118 GB, free: 46.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004814/2.265, allocations: 2.436 MB / 1.12 GB, free: 45.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.265, allocations: 0 / 1.12 GB, free: 45.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007011/2.272, allocations: 1.661 MB / 1.122 GB, free: 45.35 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.001153/2.273, allocations: 0.5013 MB / 1.122 GB, free: 45.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/2.284, allocations: 7.136 MB / 1.129 GB, free: 42.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/2.284, allocations: 0.5 kB / 1.129 GB, free: 42.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005821/2.29, allocations: 3.39 MB / 1.133 GB, free: 41.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007852/2.298, allocations: 0.9245 MB / 1.134 GB, free: 40.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03476/2.333, allocations: 19.77 MB / 1.153 GB, free: 22.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/2.343, allocations: 6.203 MB / 1.159 GB, free: 17.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006637/2.35, allocations: 1.91 MB / 1.161 GB, free: 16.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/2.351, allocations: 342.1 kB / 1.161 GB, free: 16 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/2.351, allocations: 3.75 kB / 1.161 GB, free: 16 MB / 490.7 MB Notification: Performance of Templates: time 0.3829/2.734, allocations: 67.7 MB / 1.227 GB, free: 69.8 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile make -j1 -f Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_model.h:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_functions.h:962: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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_functions.h:971: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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.o] Error 1