Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008281/0.000828, allocations: 95.77 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 4 kB / 358 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.5915, allocations: 134.6 MB / 0.5313 GB, free: 45.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5918, allocations: 108.2 kB / 0.5314 GB, free: 45.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11/1.702, allocations: 370.7 MB / 0.8934 GB, free: 55.67 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.702, allocations: 0 / 0.8934 GB, free: 55.67 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006177/1.702, allocations: 220.7 kB / 0.8936 GB, free: 55.65 MB / 474.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.02866/1.731, allocations: 10.08 MB / 0.9035 GB, free: 52.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.731, allocations: 12.19 kB / 0.9035 GB, free: 52.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02255/1.754, allocations: 4.296 MB / 0.9077 GB, free: 51.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/1.773, allocations: 8.435 MB / 0.9159 GB, free: 50.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006381/1.773, allocations: 0.6851 MB / 0.9166 GB, free: 50.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/1.777, allocations: 0.9092 MB / 0.9175 GB, free: 50.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02899/1.806, allocations: 15.97 MB / 0.9331 GB, free: 49.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/1.806, allocations: 11.16 kB / 0.9331 GB, free: 49.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001302/1.807, allocations: 398 kB / 0.9335 GB, free: 49.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006305/1.808, allocations: 0.748 MB / 0.9342 GB, free: 49.78 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02574/1.834, allocations: 14.07 MB / 0.9479 GB, free: 46.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08207/1.916, allocations: 53.02 MB / 0.9997 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01995/1.936, allocations: 20.1 MB / 1.019 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007459/1.937, allocations: 265.2 kB / 1.02 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.535e-05/1.937, allocations: 82.03 kB / 1.02 GB, free: 8.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=453): time 7.664e-06/1.937, allocations: 4 kB / 1.02 GB, free: 8.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=458): time 0.3193/2.256, allocations: 21.38 MB / 1.041 GB, free: 70.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/2.256, allocations: 98.38 kB / 1.041 GB, free: 70.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006358/2.262, allocations: 3.974 MB / 1.045 GB, free: 70.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000987/2.263, allocations: 99.77 kB / 1.045 GB, free: 70.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002667/2.266, allocations: 4.19 MB / 1.049 GB, free: 68.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001758/2.268, allocations: 1.555 MB / 1.05 GB, free: 67.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/2.268, allocations: 122.2 kB / 1.05 GB, free: 67.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002888/2.269, allocations: 0.5554 MB / 1.051 GB, free: 66.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/2.273, allocations: 3.067 MB / 1.054 GB, free: 66.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005012/2.278, allocations: 5.195 MB / 1.059 GB, free: 64.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005355/2.283, allocations: 4.263 MB / 1.063 GB, free: 64.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.417e-05/2.283, allocations: 20.88 kB / 1.063 GB, free: 64.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01466/2.298, allocations: 9.851 MB / 1.073 GB, free: 63.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/2.298, allocations: 37 kB / 1.073 GB, free: 63.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/2.298, allocations: 68.84 kB / 1.073 GB, free: 63.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/2.301, allocations: 1.397 MB / 1.074 GB, free: 63.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/2.306, allocations: 1.373 MB / 1.076 GB, free: 63.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/2.32, allocations: 11.98 MB / 1.087 GB, free: 61.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/2.325, allocations: 360.9 kB / 1.088 GB, free: 61.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008601/2.326, allocations: 292.1 kB / 1.088 GB, free: 61.02 MB / 490.7 MB 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.007282/2.333, allocations: 3.892 MB / 1.092 GB, free: 60.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009793/2.334, allocations: 462.3 kB / 1.092 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/2.346, allocations: 8.573 MB / 1.101 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008493/2.355, allocations: 6.279 MB / 1.107 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/2.355, allocations: 9.75 kB / 1.107 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-05/2.355, allocations: 25.17 kB / 1.107 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/2.383, allocations: 17.92 MB / 1.124 GB, free: 49.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/2.383, allocations: 6.812 kB / 1.124 GB, free: 49.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/2.386, allocations: 0.7992 MB / 1.125 GB, free: 49.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/2.389, allocations: 1.259 MB / 1.126 GB, free: 49.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/2.389, allocations: 105.6 kB / 1.126 GB, free: 49.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/2.402, allocations: 10.89 MB / 1.137 GB, free: 42.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/2.402, allocations: 9.062 kB / 1.137 GB, free: 42.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/2.417, allocations: 12.03 MB / 1.149 GB, free: 36.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003089/2.42, allocations: 1.137 MB / 1.15 GB, free: 36.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007145/2.421, allocations: 88.67 kB / 1.15 GB, free: 36.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/2.423, allocations: 247.1 kB / 1.15 GB, free: 36.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006074/2.424, allocations: 326.2 kB / 1.15 GB, free: 36.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/2.424, allocations: 133.9 kB / 1.151 GB, free: 36.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004023/2.428, allocations: 3.038 MB / 1.154 GB, free: 34.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/2.428, allocations: 0 / 1.154 GB, free: 34.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005586/2.434, allocations: 1.797 MB / 1.155 GB, free: 33.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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.00156/2.435, allocations: 0.8322 MB / 1.156 GB, free: 33.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01093/2.446, allocations: 7.992 MB / 1.164 GB, free: 26.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/2.446, allocations: 0 / 1.164 GB, free: 26.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005492/2.452, allocations: 3.994 MB / 1.168 GB, free: 22.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/2.456, allocations: 0.9284 MB / 1.169 GB, free: 21.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/2.487, allocations: 22.25 MB / 1.19 GB, free: 1.578 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008284/2.495, allocations: 6.817 MB / 1.197 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006328/2.502, allocations: 2.14 MB / 1.199 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/2.503, allocations: 381 kB / 1.2 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/2.503, allocations: 0 / 1.2 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.3571/2.86, allocations: 73.39 MB / 1.271 GB, free: 68.48 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_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 Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_functions.h:1054:1: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i' _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i omc__omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_functions.h:1063:1: error: unknown type name '_omcQComplexOutput_24electricalPowerSensorQS_24powerSensor_24apparentPower' _omcQComplexOutput_24electricalPowerSensorQS_24powerSensor_24apparentPower omc__omcQComplexOutput_24electricalPowerSensorQS_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_withLosses.o] Error 1