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.001076/0.001081, allocations: 200.1 kB / 18.11 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.332/1.332, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007932/0.0007932, allocations: 97.91 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002223/0.0002223, allocations: 4 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.217, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/0.5651, allocations: 134.8 MB / 0.5315 GB, free: 46.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5653, allocations: 103.8 kB / 0.5316 GB, free: 46.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111/1.676, allocations: 367.2 MB / 0.8902 GB, free: 55.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.676, allocations: 0 / 0.8902 GB, free: 55.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008771/1.677, allocations: 217 kB / 0.8904 GB, free: 55.98 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.03286/1.71, allocations: 9.972 MB / 0.9001 GB, free: 52.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.71, allocations: 9.281 kB / 0.9001 GB, free: 52.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02331/1.733, allocations: 4.31 MB / 0.9043 GB, free: 52.26 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/1.749, allocations: 7.832 MB / 0.912 GB, free: 51.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007227/1.75, allocations: 0.6941 MB / 0.9127 GB, free: 51.17 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00365/1.754, allocations: 0.9002 MB / 0.9135 GB, free: 51.17 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03401/1.788, allocations: 16.04 MB / 0.9292 GB, free: 50.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/1.788, allocations: 7.875 kB / 0.9292 GB, free: 50.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/1.789, allocations: 399.4 kB / 0.9296 GB, free: 50.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005981/1.79, allocations: 0.7521 MB / 0.9303 GB, free: 50.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02763/1.818, allocations: 14.06 MB / 0.9441 GB, free: 48.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07971/1.897, allocations: 53.04 MB / 0.9959 GB, free: 17.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/1.918, allocations: 20.1 MB / 1.016 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006187/1.924, allocations: 3.653 MB / 1.019 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/1.924, allocations: 258 kB / 1.019 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/1.924, allocations: 78.09 kB / 1.019 GB, free: 9.195 MB / 490.7 MB Notification: Performance of pre-optimization done (n=453): time 6.653e-06/1.924, allocations: 0 / 1.019 GB, free: 9.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=458): time 0.3465/2.271, allocations: 20.6 MB / 1.04 GB, free: 70.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/2.271, allocations: 100.2 kB / 1.04 GB, free: 69.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007327/2.278, allocations: 4.42 MB / 1.044 GB, free: 69.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000945/2.279, allocations: 97.27 kB / 1.044 GB, free: 69.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002653/2.282, allocations: 4.189 MB / 1.048 GB, free: 67.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002123/2.284, allocations: 1.553 MB / 1.05 GB, free: 66.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/2.285, allocations: 125.8 kB / 1.05 GB, free: 66.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004446/2.285, allocations: 0.56 MB / 1.05 GB, free: 66.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004774/2.29, allocations: 3.064 MB / 1.053 GB, free: 66.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/2.295, allocations: 5.215 MB / 1.058 GB, free: 63.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/2.307, allocations: 8.881 MB / 1.067 GB, free: 61.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/2.307, allocations: 19.66 kB / 1.067 GB, free: 61.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01709/2.324, allocations: 9.843 MB / 1.077 GB, free: 60.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.203e-05/2.324, allocations: 38.47 kB / 1.077 GB, free: 60.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/2.324, allocations: 67.31 kB / 1.077 GB, free: 60.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/2.327, allocations: 1.367 MB / 1.078 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/2.333, allocations: 1.38 MB / 1.079 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/2.347, allocations: 11.64 MB / 1.091 GB, free: 57.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00518/2.352, allocations: 364.6 kB / 1.091 GB, free: 57.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/2.353, allocations: 296.4 kB / 1.091 GB, free: 57.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00733/2.36, allocations: 3.889 MB / 1.095 GB, free: 57.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/2.362, allocations: 465 kB / 1.096 GB, free: 57.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/2.374, allocations: 8.545 MB / 1.104 GB, free: 55.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008652/2.383, allocations: 6.259 MB / 1.11 GB, free: 53.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/2.383, allocations: 22.75 kB / 1.11 GB, free: 53.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.799e-05/2.383, allocations: 26.02 kB / 1.11 GB, free: 53.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0303/2.413, allocations: 17.94 MB / 1.128 GB, free: 45.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/2.413, allocations: 7.094 kB / 1.128 GB, free: 45.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002962/2.416, allocations: 0.7979 MB / 1.129 GB, free: 45.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/2.419, allocations: 1.251 MB / 1.13 GB, free: 45.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004821/2.42, allocations: 104.5 kB / 1.13 GB, free: 45.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/2.431, allocations: 10.57 MB / 1.14 GB, free: 39.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/2.431, allocations: 14.72 kB / 1.14 GB, free: 39.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/2.447, allocations: 11.28 MB / 1.151 GB, free: 34.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00246/2.45, allocations: 1.134 MB / 1.152 GB, free: 33.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007225/2.45, allocations: 92.94 kB / 1.152 GB, free: 33.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/2.452, allocations: 248.2 kB / 1.153 GB, free: 33.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006712/2.453, allocations: 328.9 kB / 1.153 GB, free: 33.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/2.453, allocations: 135 kB / 1.153 GB, free: 33.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004504/2.458, allocations: 3.044 MB / 1.156 GB, free: 31.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.458, allocations: 0 / 1.156 GB, free: 31.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007508/2.465, allocations: 1.8 MB / 1.158 GB, free: 29.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (420): * Single equations (assignments): 414 * 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,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002036/2.468, allocations: 0.829 MB / 1.159 GB, free: 29.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01426/2.482, allocations: 7.978 MB / 1.166 GB, free: 22.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.482, allocations: 4 kB / 1.166 GB, free: 22.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007121/2.489, allocations: 3.967 MB / 1.17 GB, free: 18.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009864/2.499, allocations: 0.9907 MB / 1.171 GB, free: 17.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03809/2.537, allocations: 21.85 MB / 1.193 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01479/2.552, allocations: 6.514 MB / 1.199 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008011/2.56, allocations: 2.143 MB / 1.201 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/2.562, allocations: 388.2 kB / 1.201 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/2.562, allocations: 0 / 1.201 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of Templates: time 0.3993/2.961, allocations: 74.32 MB / 1.274 GB, free: 68.31 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 -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_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:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_functions.h:988: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:997: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