Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 175.8 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.3 MB / 241.4 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 98.94 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003281, allocations: 15.94 kB / 352.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2119, allocations: 50.39 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.5985, allocations: 153.2 MB / 0.5429 GB, free: 46.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.5989, allocations: 108.3 kB / 0.543 GB, free: 46.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12/1.719, allocations: 353.2 MB / 0.8879 GB, free: 46.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.719, allocations: 0 / 0.8879 GB, free: 46.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008868/1.72, allocations: 258.8 kB / 0.8882 GB, free: 46.3 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.03611/1.756, allocations: 10.95 MB / 0.8989 GB, free: 42.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.756, allocations: 11.16 kB / 0.8989 GB, free: 42.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02742/1.784, allocations: 4.784 MB / 0.9036 GB, free: 42.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/1.807, allocations: 8.897 MB / 0.9122 GB, free: 40.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/1.808, allocations: 0.7918 MB / 0.913 GB, free: 40.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005255/1.813, allocations: 1.047 MB / 0.914 GB, free: 40.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04706/1.86, allocations: 17.27 MB / 0.9309 GB, free: 39.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007249/1.861, allocations: 26.92 kB / 0.9309 GB, free: 39.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004416/1.865, allocations: 459.3 kB / 0.9314 GB, free: 39.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009856/1.866, allocations: 0.7606 MB / 0.9321 GB, free: 39.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03729/1.904, allocations: 15.44 MB / 0.9472 GB, free: 37.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1056/2.009, allocations: 55.64 MB / 1.002 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3175/2.327, allocations: 33.91 MB / 1.035 GB, free: 44.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007461/2.334, allocations: 4.418 MB / 1.039 GB, free: 44.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0293/2.364, allocations: 12.24 MB / 1.051 GB, free: 43.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004108/2.368, allocations: 3.089 MB / 1.054 GB, free: 43.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 7.815e-06/2.368, allocations: 2.031 kB / 1.054 GB, free: 43.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.04395/2.412, allocations: 23.34 MB / 1.077 GB, free: 41.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/2.412, allocations: 411.1 kB / 1.077 GB, free: 40.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006442/2.418, allocations: 4.5 MB / 1.082 GB, free: 40.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008189/2.419, allocations: 104.7 kB / 1.082 GB, free: 40.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004595/2.424, allocations: 4.75 MB / 1.086 GB, free: 37.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002004/2.426, allocations: 1.547 MB / 1.088 GB, free: 36.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/2.426, allocations: 118.3 kB / 1.088 GB, free: 36.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002855/2.426, allocations: 0.5395 MB / 1.088 GB, free: 36.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003835/2.43, allocations: 2.825 MB / 1.091 GB, free: 36.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004639/2.435, allocations: 4.996 MB / 1.096 GB, free: 34.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009236/2.444, allocations: 8.282 MB / 1.104 GB, free: 31.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-05/2.444, allocations: 22.88 kB / 1.104 GB, free: 31.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01501/2.459, allocations: 9.554 MB / 1.113 GB, free: 29.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/2.459, allocations: 32.53 kB / 1.114 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/2.46, allocations: 69.17 kB / 1.114 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/2.463, allocations: 1.501 MB / 1.115 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005004/2.468, allocations: 1.32 MB / 1.116 GB, free: 29.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/2.485, allocations: 16.35 MB / 1.132 GB, free: 18.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005369/2.49, allocations: 367.4 kB / 1.133 GB, free: 18.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/2.491, allocations: 280.2 kB / 1.133 GB, free: 18.06 MB / 490.7 MB 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.007215/2.499, allocations: 3.913 MB / 1.137 GB, free: 16.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/2.5, allocations: 0.4936 MB / 1.137 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/2.512, allocations: 7.947 MB / 1.145 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/2.512, allocations: 48.02 kB / 1.145 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-05/2.512, allocations: 23.47 kB / 1.145 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-05/2.512, allocations: 22.55 kB / 1.145 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02894/2.541, allocations: 17.67 MB / 1.162 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/2.541, allocations: 10.52 kB / 1.162 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/2.545, allocations: 0.7487 MB / 1.163 GB, free: 4.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003872/2.548, allocations: 1.569 MB / 1.165 GB, free: 4.609 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007752/2.549, allocations: 109.7 kB / 1.165 GB, free: 4.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02158/2.571, allocations: 19.61 MB / 1.184 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/2.571, allocations: 9.109 kB / 1.184 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0206/2.591, allocations: 11.44 MB / 1.195 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003745/2.595, allocations: 1.161 MB / 1.196 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/2.597, allocations: 99.61 kB / 1.196 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003007/2.6, allocations: 240.1 kB / 1.196 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008584/2.601, allocations: 344.3 kB / 1.197 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/2.601, allocations: 133.8 kB / 1.197 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005708/2.607, allocations: 3.056 MB / 1.2 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.3e-07/2.607, allocations: 0 / 1.2 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01119/2.618, allocations: 1.939 MB / 1.202 GB, free: 3.32 MB / 0.5105 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.8%) 44,(1,100.0%) 5,(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.002556/2.62, allocations: 0.8663 MB / 1.203 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2958/2.916, allocations: 8.672 MB / 1.211 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/2.916, allocations: 6.906 kB / 1.211 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007764/2.924, allocations: 4.631 MB / 1.216 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00924/2.933, allocations: 1.273 MB / 1.217 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03751/2.971, allocations: 23.46 MB / 1.24 GB, free: 74.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/2.981, allocations: 6.842 MB / 1.247 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006346/2.987, allocations: 1.866 MB / 1.248 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/2.989, allocations: 392.3 kB / 1.249 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/2.989, allocations: 0 / 1.249 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.1487/3.137, allocations: 84.22 MB / 1.331 GB, free: 61.28 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_model.h:26: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_functions.h:1164: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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.o] Error 1