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.001197/0.001197, allocations: 197.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008363/0.0008363, allocations: 102.7 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 4 kB / 358 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2414, allocations: 51.49 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2986/0.5401, allocations: 128 MB / 0.5248 GB, free: 47.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5404, allocations: 103.2 kB / 0.5249 GB, free: 47.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.049/1.589, allocations: 355.2 MB / 0.8718 GB, free: 52.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.589, allocations: 0 / 0.8718 GB, free: 52.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006609/1.59, allocations: 211 kB / 0.872 GB, free: 52.38 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03063/1.621, allocations: 9.438 MB / 0.8812 GB, free: 49.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.621, allocations: 10.38 kB / 0.8812 GB, free: 49.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/1.643, allocations: 4.23 MB / 0.8853 GB, free: 49.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0196/1.663, allocations: 8.074 MB / 0.8932 GB, free: 48.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000637/1.664, allocations: 0.669 MB / 0.8939 GB, free: 48.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004668/1.668, allocations: 0.8851 MB / 0.8947 GB, free: 48.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03566/1.704, allocations: 15.59 MB / 0.91 GB, free: 46.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003885/1.704, allocations: 14.66 kB / 0.91 GB, free: 46.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00262/1.707, allocations: 389 kB / 0.9103 GB, free: 46.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007901/1.708, allocations: 0.7291 MB / 0.911 GB, free: 46.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02713/1.735, allocations: 13.76 MB / 0.9245 GB, free: 46.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08259/1.818, allocations: 52.39 MB / 0.9757 GB, free: 21.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02275/1.84, allocations: 26.42 MB / 1.001 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007661/1.841, allocations: 254.6 kB / 1.002 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/1.841, allocations: 71.67 kB / 1.002 GB, free: 13.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=404): time 8.546e-06/1.841, allocations: 0 / 1.002 GB, free: 13.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=410): time 0.04245/1.884, allocations: 17.7 MB / 1.019 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/1.884, allocations: 98.55 kB / 1.019 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007508/1.892, allocations: 3.247 MB / 1.022 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008114/1.892, allocations: 93.27 kB / 1.022 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003071/1.895, allocations: 3.984 MB / 1.026 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0021/1.898, allocations: 1.396 MB / 1.028 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/1.899, allocations: 120 kB / 1.028 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007537/1.899, allocations: 0.5409 MB / 1.028 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005425/1.905, allocations: 2.821 MB / 1.031 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2669/2.172, allocations: 4.955 MB / 1.036 GB, free: 77.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007685/2.18, allocations: 3.973 MB / 1.04 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.052e-05/2.18, allocations: 20.34 kB / 1.04 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01586/2.195, allocations: 9.124 MB / 1.049 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/2.196, allocations: 36.84 kB / 1.049 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/2.196, allocations: 70.41 kB / 1.049 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/2.199, allocations: 1.225 MB / 1.05 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/2.203, allocations: 1.318 MB / 1.051 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/2.214, allocations: 9.39 MB / 1.06 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/2.218, allocations: 341.6 kB / 1.061 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004976/2.219, allocations: 283.5 kB / 1.061 GB, free: 76.27 MB / 0.4948 GB 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.005561/2.224, allocations: 3.716 MB / 1.065 GB, free: 76.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008453/2.225, allocations: 400.4 kB / 1.065 GB, free: 76.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009908/2.235, allocations: 6.74 MB / 1.072 GB, free: 75.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007147/2.242, allocations: 5.628 MB / 1.077 GB, free: 75.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/2.242, allocations: 14.61 kB / 1.077 GB, free: 75.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/2.242, allocations: 21.38 kB / 1.077 GB, free: 75.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02679/2.269, allocations: 16.39 MB / 1.093 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/2.269, allocations: 3.5 kB / 1.093 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/2.272, allocations: 0.7195 MB / 1.094 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002805/2.275, allocations: 1.077 MB / 1.095 GB, free: 74.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004863/2.275, allocations: 95.72 kB / 1.095 GB, free: 74.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/2.286, allocations: 8.336 MB / 1.103 GB, free: 72.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/2.286, allocations: 11.98 kB / 1.103 GB, free: 72.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/2.301, allocations: 10.4 MB / 1.113 GB, free: 68.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/2.303, allocations: 0.9776 MB / 1.114 GB, free: 68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004808/2.304, allocations: 81.95 kB / 1.114 GB, free: 67.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/2.305, allocations: 206.6 kB / 1.115 GB, free: 67.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/2.306, allocations: 291.1 kB / 1.115 GB, free: 67.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/2.306, allocations: 121.4 kB / 1.115 GB, free: 67.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003094/2.309, allocations: 2.431 MB / 1.117 GB, free: 66.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/2.309, allocations: 0 / 1.117 GB, free: 66.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004841/2.314, allocations: 1.669 MB / 1.119 GB, free: 66.71 MB / 0.4948 GB 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.0008708/2.315, allocations: 0.5165 MB / 1.119 GB, free: 66.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009695/2.325, allocations: 7.168 MB / 1.126 GB, free: 63.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/2.325, allocations: 4.188 kB / 1.126 GB, free: 63.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004649/2.329, allocations: 3.415 MB / 1.13 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/2.333, allocations: 0.8642 MB / 1.131 GB, free: 62.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/2.36, allocations: 20.44 MB / 1.151 GB, free: 51.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005318/2.365, allocations: 6.356 MB / 1.157 GB, free: 46.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004938/2.37, allocations: 1.907 MB / 1.159 GB, free: 45.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008873/2.371, allocations: 344.3 kB / 1.159 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/2.371, allocations: 0 / 1.159 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.3228/2.694, allocations: 66.85 MB / 1.224 GB, free: 70 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 -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_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:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_functions.h:1026: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:1035: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