Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008625/0.0008624, allocations: 98.2 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002216/0.0002215, allocations: 12 kB / 358 MB, free: 9.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.235, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/0.6068, allocations: 154.2 MB / 0.5504 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.6072, allocations: 105.1 kB / 0.5505 GB, free: 37.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16/1.767, allocations: 373.3 MB / 0.9151 GB, free: 46.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.768, allocations: 0 / 0.9151 GB, free: 46.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009849/1.769, allocations: 257.3 kB / 0.9153 GB, free: 46.52 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: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.03799/1.807, allocations: 11.13 MB / 0.9262 GB, free: 42.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.807, allocations: 13.27 kB / 0.9262 GB, free: 42.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02647/1.833, allocations: 4.797 MB / 0.9309 GB, free: 42.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02395/1.857, allocations: 9.623 MB / 0.9403 GB, free: 41.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008573/1.858, allocations: 0.7915 MB / 0.941 GB, free: 41.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005847/1.864, allocations: 1.047 MB / 0.9421 GB, free: 41.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04587/1.91, allocations: 17.2 MB / 0.9589 GB, free: 38.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006627/1.91, allocations: 12.16 kB / 0.9589 GB, free: 38.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004613/1.915, allocations: 455.1 kB / 0.9593 GB, free: 38.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009602/1.916, allocations: 0.7621 MB / 0.9601 GB, free: 37.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03475/1.951, allocations: 15.43 MB / 0.9751 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/2.061, allocations: 56.08 MB / 1.03 GB, free: 1.707 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2972/2.358, allocations: 34.01 MB / 1.063 GB, free: 31.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01901/2.377, allocations: 10.78 MB / 1.074 GB, free: 30.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004026/2.381, allocations: 3.14 MB / 1.077 GB, free: 30.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=444): time 6.041e-06/2.381, allocations: 0 / 1.077 GB, free: 30.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=462): time 0.04851/2.43, allocations: 23.75 MB / 1.1 GB, free: 27.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/2.43, allocations: 410.5 kB / 1.1 GB, free: 27.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00795/2.438, allocations: 4.037 MB / 1.104 GB, free: 27.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005434/2.438, allocations: 104.5 kB / 1.104 GB, free: 27.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004287/2.443, allocations: 4.744 MB / 1.109 GB, free: 24.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001699/2.444, allocations: 1.58 MB / 1.11 GB, free: 23.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000635/2.445, allocations: 121.8 kB / 1.111 GB, free: 23.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004274/2.445, allocations: 0.5422 MB / 1.111 GB, free: 23.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004188/2.45, allocations: 2.865 MB / 1.114 GB, free: 23.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006287/2.456, allocations: 5.017 MB / 1.119 GB, free: 20.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/2.462, allocations: 3.911 MB / 1.123 GB, free: 20.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.291e-05/2.462, allocations: 20.38 kB / 1.123 GB, free: 20.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01547/2.477, allocations: 9.652 MB / 1.132 GB, free: 18.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.823e-05/2.478, allocations: 33.28 kB / 1.132 GB, free: 18.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/2.478, allocations: 63 kB / 1.132 GB, free: 18.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00383/2.482, allocations: 1.508 MB / 1.134 GB, free: 18.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005068/2.487, allocations: 1.343 MB / 1.135 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/2.505, allocations: 16.74 MB / 1.151 GB, free: 22.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005376/2.51, allocations: 365.6 kB / 1.152 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/2.512, allocations: 287.9 kB / 1.152 GB, free: 22.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (696): * Single equations (assignments): 690 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13,(1,100.0%) 4,(14,39.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008553/2.52, allocations: 3.911 MB / 1.156 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/2.522, allocations: 0.4994 MB / 1.156 GB, free: 20.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/2.537, allocations: 8.086 MB / 1.164 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/2.537, allocations: 49.86 kB / 1.164 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-05/2.537, allocations: 17.59 kB / 1.164 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-05/2.537, allocations: 25.47 kB / 1.164 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03583/2.573, allocations: 17.76 MB / 1.182 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/2.573, allocations: 3.156 kB / 1.182 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003414/2.576, allocations: 0.775 MB / 1.182 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004192/2.581, allocations: 1.567 MB / 1.184 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005799/2.581, allocations: 114.8 kB / 1.184 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02317/2.604, allocations: 20.06 MB / 1.204 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/2.604, allocations: 4 kB / 1.204 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/2.629, allocations: 12.53 MB / 1.216 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003663/2.633, allocations: 1.184 MB / 1.217 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00183/2.635, allocations: 99.09 kB / 1.217 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003655/2.639, allocations: 249.7 kB / 1.217 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/2.64, allocations: 341.4 kB / 1.218 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005104/2.64, allocations: 138.2 kB / 1.218 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006947/2.647, allocations: 3.07 MB / 1.221 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/2.647, allocations: 0 / 1.221 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009134/2.656, allocations: 1.97 MB / 1.223 GB, free: 9.648 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (407): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 3,(14,40.3%) 44,(1,100.0%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002047/2.658, allocations: 0.895 MB / 1.224 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01575/2.674, allocations: 8.175 MB / 1.232 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.674, allocations: 4 kB / 1.232 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.2505/2.925, allocations: 4.884 MB / 1.236 GB, free: 99.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/2.93, allocations: 1.211 MB / 1.237 GB, free: 99.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/2.967, allocations: 24.3 MB / 1.261 GB, free: 89.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00618/2.973, allocations: 7.035 MB / 1.268 GB, free: 88.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005692/2.979, allocations: 1.871 MB / 1.27 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/2.98, allocations: 400.9 kB / 1.27 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/2.98, allocations: 0.5469 kB / 1.27 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.1357/3.116, allocations: 84.09 MB / 1.352 GB, free: 77.9 MB / 0.5261 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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_Conveyor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -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_Conveyor.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_functions.h:1245: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); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.o] Error 1