Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007134/0.007134, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05142/0.05142, allocations: 8.795 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 223.2 MB / 250.7 MB, free: 6.523 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.0008504/0.0008503, allocations: 91.27 kB / 304 MB, free: 3.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003321, allocations: 8 kB / 367.1 MB, free: 4.934 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.213, allocations: 52.54 MB / 419.6 MB, free: 48.05 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.3653, allocations: 151.8 MB / 0.558 GB, free: 1.137 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.3656, allocations: 85.86 kB / 0.5581 GB, free: 1.055 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362/1.727, allocations: 457.4 MB / 1.005 GB, free: 49.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.993e-06/1.728, allocations: 0 / 1.005 GB, free: 49.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009598/1.728, allocations: 331.1 kB / 1.005 GB, free: 49.57 MB / 490.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.04348/1.772, allocations: 14 MB / 1.019 GB, free: 45.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.772, allocations: 10.5 kB / 1.019 GB, free: 45.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03104/1.803, allocations: 5.858 MB / 1.025 GB, free: 44.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02538/1.829, allocations: 11.75 MB / 1.036 GB, free: 40.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008734/1.829, allocations: 1.025 MB / 1.037 GB, free: 39.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004735/1.834, allocations: 1.361 MB / 1.038 GB, free: 39.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04427/1.878, allocations: 22.45 MB / 1.06 GB, free: 21.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007123/1.879, allocations: 19.84 kB / 1.06 GB, free: 21.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004218/1.883, allocations: 0.5845 MB / 1.061 GB, free: 20.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007823/1.884, allocations: 0.9736 MB / 1.062 GB, free: 20.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03713/1.921, allocations: 19.57 MB / 1.081 GB, free: 1.621 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3698/2.291, allocations: 72.72 MB / 1.152 GB, free: 42.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03024/2.321, allocations: 42.3 MB / 1.193 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02576/2.347, allocations: 12.46 MB / 1.205 GB, free: 38.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.386e-05/2.347, allocations: 92.8 kB / 1.205 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=514): time 6.462e-06/2.347, allocations: 3.75 kB / 1.205 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=522): time 0.05285/2.4, allocations: 27.6 MB / 1.232 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/2.4, allocations: 132.8 kB / 1.233 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006659/2.407, allocations: 5.059 MB / 1.237 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006785/2.408, allocations: 108 kB / 1.238 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002592/2.41, allocations: 6.121 MB / 1.244 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/2.412, allocations: 1.787 MB / 1.245 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/2.412, allocations: 151.3 kB / 1.245 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003842/2.413, allocations: 0.6121 MB / 1.246 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/2.417, allocations: 3.659 MB / 1.25 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005678/2.423, allocations: 6.443 MB / 1.256 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005933/2.429, allocations: 5.041 MB / 1.261 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.624e-05/2.429, allocations: 29.22 kB / 1.261 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=970) (initialization): time 0.02029/2.449, allocations: 12.1 MB / 1.273 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-05/2.449, allocations: 48.31 kB / 1.273 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/2.449, allocations: 93.09 kB / 1.273 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004/2.453, allocations: 1.522 MB / 1.274 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006219/2.46, allocations: 1.662 MB / 1.276 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/2.481, allocations: 18.37 MB / 1.294 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005862/2.487, allocations: 434.5 kB / 1.294 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009201/2.488, allocations: 367.7 kB / 1.295 GB, free: 5.738 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 415 * 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 (870): * Single equations (assignments): 860 * 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.009523/2.498, allocations: 5.189 MB / 1.3 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/2.499, allocations: 0.6051 MB / 1.3 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.269/2.768, allocations: 9.549 MB / 1.31 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008082/2.776, allocations: 5.912 MB / 1.315 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-05/2.776, allocations: 20.69 kB / 1.315 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.386e-05/2.776, allocations: 24.33 kB / 1.315 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/2.815, allocations: 21.3 MB / 1.336 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/2.815, allocations: 9.719 kB / 1.336 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003838/2.819, allocations: 0.8802 MB / 1.337 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004447/2.823, allocations: 1.544 MB / 1.339 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005979/2.824, allocations: 132.9 kB / 1.339 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/2.845, allocations: 21.61 MB / 1.36 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/2.845, allocations: 8.875 kB / 1.36 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/2.866, allocations: 14.79 MB / 1.374 GB, free: 93.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004617/2.871, allocations: 1.378 MB / 1.376 GB, free: 93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/2.872, allocations: 107.8 kB / 1.376 GB, free: 92.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/2.875, allocations: 302.6 kB / 1.376 GB, free: 92.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008948/2.876, allocations: 423.5 kB / 1.376 GB, free: 92.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000352/2.877, allocations: 155.3 kB / 1.377 GB, free: 92.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005665/2.882, allocations: 3.807 MB / 1.38 GB, free: 91.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-07/2.882, allocations: 0 / 1.38 GB, free: 91.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009927/2.892, allocations: 2.395 MB / 1.383 GB, free: 91.14 MB / 0.5417 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 (451): * Single equations (assignments): 440 * 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,54.9%) 64,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 1,(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.0015/2.894, allocations: 0.5897 MB / 1.383 GB, free: 90.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01445/2.908, allocations: 9.96 MB / 1.393 GB, free: 87.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.908, allocations: 0 / 1.393 GB, free: 87.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008635/2.917, allocations: 5.504 MB / 1.398 GB, free: 84.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00732/2.924, allocations: 1.498 MB / 1.4 GB, free: 84.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05101/2.975, allocations: 30.32 MB / 1.429 GB, free: 66.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01703/2.992, allocations: 9.095 MB / 1.438 GB, free: 59.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008996/3.001, allocations: 2.533 MB / 1.441 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/3.003, allocations: 461.1 kB / 1.441 GB, free: 57.5 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/3.003, allocations: 0 / 1.441 GB, free: 57.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.4344/3.438, allocations: 98.94 MB / 1.538 GB, free: 82.82 MB / 0.5417 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_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 HanserModelica_HanserModelica.InductionMachines.IMC_DOL.o HanserModelica_HanserModelica.InductionMachines.IMC_DOL.c In file included from HanserModelica_HanserModelica.InductionMachines.IMC_DOL.c:7: In file included from ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL_model.h:24: ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL_functions.h:1249:1: error: unknown type name '_omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24i' _omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24i omc__omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL_functions.h:1258: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: *** [: HanserModelica_HanserModelica.InductionMachines.IMC_DOL.o] Error 1