Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 199.7 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.5 MB / 245.4 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007414/0.0007414, allocations: 89.7 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002357/0.0002357, allocations: 4 kB / 358.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1961, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4263/0.6225, allocations: 155.1 MB / 0.5513 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/0.6229, allocations: 107.4 kB / 0.5514 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463/2.086, allocations: 475.1 MB / 1.015 GB, free: 10.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.183e-06/2.086, allocations: 3.938 kB / 1.015 GB, free: 10.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001838/2.087, allocations: 327.6 kB / 1.016 GB, free: 10.59 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.5709/2.658, allocations: 13.91 MB / 1.029 GB, free: 18.94 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/2.658, allocations: 12.31 kB / 1.029 GB, free: 18.94 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03154/2.69, allocations: 5.887 MB / 1.035 GB, free: 18.18 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02877/2.719, allocations: 11.08 MB / 1.046 GB, free: 17.31 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/2.72, allocations: 1.027 MB / 1.047 GB, free: 17.28 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005899/2.726, allocations: 1.357 MB / 1.048 GB, free: 17.27 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06483/2.791, allocations: 22.57 MB / 1.07 GB, free: 15.61 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008915/2.792, allocations: 20.25 kB / 1.07 GB, free: 15.6 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006098/2.798, allocations: 0.577 MB / 1.071 GB, free: 15.6 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001292/2.799, allocations: 0.9833 MB / 1.072 GB, free: 15.57 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04594/2.845, allocations: 19.57 MB / 1.091 GB, free: 15.45 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1301/2.975, allocations: 73.46 MB / 1.163 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03318/3.009, allocations: 42.58 MB / 1.204 GB, free: 6.715 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009015/3.018, allocations: 5.214 MB / 1.209 GB, free: 2.469 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02719/3.045, allocations: 13.08 MB / 1.222 GB, free: 7.855 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.503e-05/3.045, allocations: 92.5 kB / 1.222 GB, free: 7.762 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=504): time 6.833e-06/3.045, allocations: 0 / 1.222 GB, free: 7.762 MB / 0.5418 GB Notification: Performance of matching and sorting (n=512): time 0.6101/3.655, allocations: 27.05 MB / 1.248 GB, free: 95.59 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/3.655, allocations: 134.2 kB / 1.249 GB, free: 95.49 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008146/3.663, allocations: 5.68 MB / 1.254 GB, free: 95.05 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0009858/3.664, allocations: 108.6 kB / 1.254 GB, free: 95.02 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00315/3.668, allocations: 6.148 MB / 1.26 GB, free: 91.8 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001918/3.67, allocations: 1.751 MB / 1.262 GB, free: 90.71 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/3.67, allocations: 149.9 kB / 1.262 GB, free: 90.71 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0003435/3.67, allocations: 0.6102 MB / 1.263 GB, free: 90.39 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004757/3.675, allocations: 3.619 MB / 1.266 GB, free: 90.38 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005978/3.681, allocations: 6.432 MB / 1.272 GB, free: 87.02 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/3.693, allocations: 10.71 MB / 1.283 GB, free: 83.62 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/3.694, allocations: 26.81 kB / 1.283 GB, free: 83.62 MB / 0.5419 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01952/3.713, allocations: 12.02 MB / 1.295 GB, free: 82.93 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 8.464e-05/3.713, allocations: 45.03 kB / 1.295 GB, free: 82.93 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001888/3.713, allocations: 91.81 kB / 1.295 GB, free: 82.93 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004052/3.718, allocations: 1.499 MB / 1.296 GB, free: 82.86 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005952/3.723, allocations: 1.649 MB / 1.298 GB, free: 82.86 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/3.744, allocations: 17.9 MB / 1.315 GB, free: 76.08 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006851/3.751, allocations: 428.7 kB / 1.316 GB, free: 76.06 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/3.753, allocations: 365.7 kB / 1.316 GB, free: 76.06 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 852 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01128/3.764, allocations: 5.193 MB / 1.321 GB, free: 75.88 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002065/3.766, allocations: 0.5965 MB / 1.322 GB, free: 75.56 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/3.783, allocations: 9.318 MB / 1.331 GB, free: 74.93 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008768/3.792, allocations: 5.854 MB / 1.337 GB, free: 73.15 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.309e-05/3.792, allocations: 18.47 kB / 1.337 GB, free: 73.15 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.051e-05/3.792, allocations: 24.84 kB / 1.337 GB, free: 73.15 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04769/3.84, allocations: 21.1 MB / 1.357 GB, free: 64.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-05/3.84, allocations: 3.906 kB / 1.357 GB, free: 64.52 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005509/3.846, allocations: 0.8635 MB / 1.358 GB, free: 64.49 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007569/3.853, allocations: 1.551 MB / 1.36 GB, free: 64.08 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008069/3.854, allocations: 124.9 kB / 1.36 GB, free: 64 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03751/3.892, allocations: 21.1 MB / 1.38 GB, free: 48.97 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/3.892, allocations: 10.91 kB / 1.38 GB, free: 48.97 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03319/3.925, allocations: 13.67 MB / 1.394 GB, free: 37.78 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004192/3.929, allocations: 1.36 MB / 1.395 GB, free: 36.54 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/3.931, allocations: 107.3 kB / 1.395 GB, free: 36.44 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004171/3.935, allocations: 306.5 kB / 1.395 GB, free: 36.22 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/3.937, allocations: 406.8 kB / 1.396 GB, free: 35.97 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006038/3.937, allocations: 159.8 kB / 1.396 GB, free: 35.83 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.007611/3.945, allocations: 3.822 MB / 1.4 GB, free: 32.68 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.81e-07/3.945, allocations: 0 / 1.4 GB, free: 32.68 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.01101/3.956, allocations: 2.391 MB / 1.402 GB, free: 30.31 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,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,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(12,52.1%) 64,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(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.001477/3.957, allocations: 0.6033 MB / 1.403 GB, free: 29.85 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.01461/3.972, allocations: 9.829 MB / 1.412 GB, free: 21.27 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/3.972, allocations: 7.938 kB / 1.412 GB, free: 21.26 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/3.985, allocations: 5.478 MB / 1.418 GB, free: 16.37 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01768/4.003, allocations: 1.561 MB / 1.419 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3763/4.379, allocations: 29.76 MB / 1.448 GB, free: 78.91 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/4.39, allocations: 8.869 MB / 1.457 GB, free: 77.76 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.009066/4.399, allocations: 2.521 MB / 1.459 GB, free: 77.53 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002002/4.401, allocations: 455.1 kB / 1.46 GB, free: 77.53 MB / 0.5419 GB Notification: Performance of SimCode: time 1.353e-06/4.401, allocations: 0 / 1.46 GB, free: 77.53 MB / 0.5419 GB Notification: Performance of Templates: time 0.1676/4.569, allocations: 99.42 MB / 1.557 GB, free: 56.97 MB / 0.5419 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOL -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_DOL.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_model.h:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_functions.h:1170: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_DOL_functions.h:1179:1: error: unknown type name '_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower' _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerSensorQS_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_DOL.o] Error 1