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.001632/0.001632, 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.515/1.515, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.0008383, allocations: 100.5 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002323/0.0002323, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.5626, allocations: 154.5 MB / 0.5507 GB, free: 38.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.5629, allocations: 113.4 kB / 0.5508 GB, free: 38.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1/1.663, allocations: 369.8 MB / 0.9119 GB, free: 45.28 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.483e-06/1.663, allocations: 0 / 0.9119 GB, free: 45.28 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009633/1.664, allocations: 251 kB / 0.9122 GB, free: 45.24 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.03376/1.698, allocations: 11.02 MB / 0.9229 GB, free: 41.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.698, allocations: 8.562 kB / 0.9229 GB, free: 41.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0253/1.723, allocations: 4.801 MB / 0.9276 GB, free: 40.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01974/1.743, allocations: 8.934 MB / 0.9363 GB, free: 39.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008472/1.744, allocations: 0.7951 MB / 0.9371 GB, free: 39.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00401/1.748, allocations: 1.044 MB / 0.9381 GB, free: 39.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04362/1.791, allocations: 17.28 MB / 0.955 GB, free: 38.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005244/1.792, allocations: 25.44 kB / 0.955 GB, free: 38.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00328/1.795, allocations: 456.5 kB / 0.9555 GB, free: 38.42 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007596/1.796, allocations: 0.7596 MB / 0.9562 GB, free: 38.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/1.829, allocations: 15.43 MB / 0.9713 GB, free: 31.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/1.934, allocations: 56.09 MB / 1.026 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3201/2.254, allocations: 33.98 MB / 1.059 GB, free: 29.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008063/2.262, allocations: 4.444 MB / 1.064 GB, free: 28.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01869/2.281, allocations: 12.53 MB / 1.076 GB, free: 28.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003539/2.285, allocations: 3.091 MB / 1.079 GB, free: 27.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 6.743e-06/2.285, allocations: 1.75 kB / 1.079 GB, free: 27.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.04232/2.327, allocations: 23.31 MB / 1.102 GB, free: 25.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.327, allocations: 421.3 kB / 1.102 GB, free: 24.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006245/2.333, allocations: 4.527 MB / 1.106 GB, free: 24.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005023/2.334, allocations: 101.8 kB / 1.107 GB, free: 24.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004047/2.338, allocations: 4.76 MB / 1.111 GB, free: 21.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/2.339, allocations: 1.547 MB / 1.113 GB, free: 20.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/2.34, allocations: 119.1 kB / 1.113 GB, free: 20.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/2.34, allocations: 0.5431 MB / 1.113 GB, free: 20.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/2.344, allocations: 2.819 MB / 1.116 GB, free: 20.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004559/2.348, allocations: 4.998 MB / 1.121 GB, free: 18.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008388/2.357, allocations: 8.283 MB / 1.129 GB, free: 15.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.495e-05/2.357, allocations: 23.34 kB / 1.129 GB, free: 15.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01337/2.37, allocations: 9.563 MB / 1.138 GB, free: 11.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/2.37, allocations: 39.05 kB / 1.138 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.924e-05/2.37, allocations: 66.03 kB / 1.139 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00341/2.374, allocations: 1.494 MB / 1.14 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004652/2.378, allocations: 1.32 MB / 1.141 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/2.397, allocations: 16.34 MB / 1.157 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/2.402, allocations: 361.5 kB / 1.158 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/2.403, allocations: 282.5 kB / 1.158 GB, free: 16.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (688): * Single equations (assignments): 682 * 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%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007489/2.411, allocations: 3.911 MB / 1.162 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/2.412, allocations: 0.5047 MB / 1.162 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/2.425, allocations: 7.944 MB / 1.17 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/2.425, allocations: 51.19 kB / 1.17 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/2.425, allocations: 18.2 kB / 1.17 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.434e-05/2.425, allocations: 22.55 kB / 1.17 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03129/2.456, allocations: 17.68 MB / 1.187 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/2.456, allocations: 3.812 kB / 1.187 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/2.459, allocations: 0.7568 MB / 1.188 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003749/2.463, allocations: 1.553 MB / 1.19 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004183/2.464, allocations: 118.3 kB / 1.19 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/2.485, allocations: 19.6 MB / 1.209 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/2.485, allocations: 7.938 kB / 1.209 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01994/2.505, allocations: 11.46 MB / 1.22 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003447/2.508, allocations: 1.164 MB / 1.221 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/2.51, allocations: 95.52 kB / 1.221 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/2.513, allocations: 248.8 kB / 1.221 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008147/2.514, allocations: 336.3 kB / 1.222 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/2.514, allocations: 135.7 kB / 1.222 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005474/2.52, allocations: 3.076 MB / 1.225 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.52, allocations: 0 / 1.225 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008546/2.528, allocations: 1.96 MB / 1.227 GB, free: 2.512 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 (397): * Single equations (assignments): 388 * 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%) 3,(14,41.3%) 44,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002086/2.53, allocations: 0.8815 MB / 1.228 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2792/2.809, allocations: 8.057 MB / 1.236 GB, free: 98.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.809, allocations: 0 / 1.236 GB, free: 98.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007821/2.817, allocations: 4.64 MB / 1.24 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009262/2.827, allocations: 1.274 MB / 1.241 GB, free: 97.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/2.862, allocations: 23.53 MB / 1.264 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007711/2.87, allocations: 6.85 MB / 1.271 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006198/2.876, allocations: 1.865 MB / 1.273 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/2.877, allocations: 395.3 kB / 1.273 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/2.877, allocations: 0 / 1.273 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.1947/3.072, allocations: 84.61 MB / 1.356 GB, free: 73.51 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 -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_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:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_functions.h:1165: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