Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004635/0.004635, 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.03735/0.03736, allocations: 8.797 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.215/1.215, allocations: 223.2 MB / 250.7 MB, free: 6.551 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.0008643/0.0008643, allocations: 92.95 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 11.98 kB / 367.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2185, allocations: 52.54 MB / 419.6 MB, free: 48.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.54, allocations: 160 MB / 0.566 GB, free: 123 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.5402, allocations: 80.02 kB / 0.5661 GB, free: 123 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.657/2.197, allocations: 0.573 GB / 1.139 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/2.197, allocations: 0 / 1.139 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00125/2.198, allocations: 420.6 kB / 1.14 GB, free: 38.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.05725/2.255, allocations: 17.97 MB / 1.157 GB, free: 33.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/2.255, allocations: 15.09 kB / 1.157 GB, free: 33.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04092/2.296, allocations: 7.872 MB / 1.165 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03038/2.327, allocations: 14.88 MB / 1.179 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001942/2.329, allocations: 1.319 MB / 1.181 GB, free: 30.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006944/2.336, allocations: 1.721 MB / 1.182 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06865/2.404, allocations: 29.22 MB / 1.211 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005752/2.405, allocations: 29.56 kB / 1.211 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004409/2.409, allocations: 0.7452 MB / 1.212 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001071/2.41, allocations: 1.269 MB / 1.213 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05097/2.461, allocations: 25.42 MB / 1.238 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4506/2.912, allocations: 94.81 MB / 1.33 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03736/2.949, allocations: 51.79 MB / 1.381 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02728/2.977, allocations: 16.55 MB / 1.397 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.533e-05/2.977, allocations: 118.9 kB / 1.397 GB, free: 20.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=703): time 7.574e-06/2.977, allocations: 0 / 1.397 GB, free: 20.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=711): time 0.07809/3.055, allocations: 39.32 MB / 1.435 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/3.055, allocations: 151.5 kB / 1.436 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008385/3.064, allocations: 6.172 MB / 1.442 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/3.065, allocations: 141.4 kB / 1.442 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004865/3.069, allocations: 7.708 MB / 1.449 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003697/3.073, allocations: 2.401 MB / 1.452 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008808/3.074, allocations: 188.3 kB / 1.452 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005591/3.075, allocations: 0.6987 MB / 1.453 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006714/3.081, allocations: 4.908 MB / 1.457 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008701/3.09, allocations: 8.14 MB / 1.465 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009087/3.099, allocations: 6.573 MB / 1.472 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.525e-05/3.099, allocations: 29.47 kB / 1.472 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.3068/3.406, allocations: 16.87 MB / 1.488 GB, free: 95.29 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/3.406, allocations: 49.92 kB / 1.488 GB, free: 95.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/3.406, allocations: 102.8 kB / 1.488 GB, free: 95.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005606/3.412, allocations: 2.457 MB / 1.491 GB, free: 95.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007744/3.42, allocations: 2.068 MB / 1.493 GB, free: 95.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03051/3.45, allocations: 29 MB / 1.521 GB, free: 84.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007741/3.458, allocations: 0.5361 MB / 1.522 GB, free: 84.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/3.46, allocations: 445.9 kB / 1.522 GB, free: 84.85 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.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 (1076): * Single equations (assignments): 1063 * 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: 8 * 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: 8 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(18,38.0%) 100} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01141/3.471, allocations: 6.745 MB / 1.529 GB, free: 84.74 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/3.473, allocations: 0.7704 MB / 1.529 GB, free: 84.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02098/3.494, allocations: 13.3 MB / 1.542 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01169/3.506, allocations: 8.323 MB / 1.55 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-05/3.506, allocations: 27.81 kB / 1.551 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/3.506, allocations: 35.2 kB / 1.551 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05065/3.557, allocations: 28.56 MB / 1.578 GB, free: 76.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/3.557, allocations: 4.531 kB / 1.578 GB, free: 76.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005158/3.562, allocations: 1.137 MB / 1.58 GB, free: 76.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005813/3.568, allocations: 2.507 MB / 1.582 GB, free: 75.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009178/3.569, allocations: 151.7 kB / 1.582 GB, free: 75.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02898/3.598, allocations: 33.56 MB / 1.615 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/3.598, allocations: 5.781 kB / 1.615 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/3.623, allocations: 19.75 MB / 1.634 GB, free: 40.03 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004423/3.627, allocations: 1.789 MB / 1.636 GB, free: 38.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/3.628, allocations: 128 kB / 1.636 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003731/3.632, allocations: 430.4 kB / 1.636 GB, free: 37.99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/3.633, allocations: 0.5462 MB / 1.637 GB, free: 37.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004326/3.633, allocations: 199.6 kB / 1.637 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006199/3.64, allocations: 4.662 MB / 1.642 GB, free: 33.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/3.64, allocations: 0 / 1.642 GB, free: 33.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009784/3.649, allocations: 3.118 MB / 1.645 GB, free: 30.54 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (583): * Single equations (assignments): 568 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(18,38.3%) 100,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(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.001322/3.651, allocations: 0.6893 MB / 1.645 GB, free: 30.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02044/3.671, allocations: 13.51 MB / 1.659 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/3.671, allocations: 7.312 kB / 1.659 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01084/3.682, allocations: 7.711 MB / 1.666 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/3.692, allocations: 1.96 MB / 1.668 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3207/4.013, allocations: 39.15 MB / 1.706 GB, free: 73.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01842/4.032, allocations: 11.66 MB / 1.718 GB, free: 72.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01195/4.044, allocations: 3.284 MB / 1.721 GB, free: 72.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/4.046, allocations: 0.5578 MB / 1.721 GB, free: 72.04 MB / 0.5573 GB Notification: Performance of SimCode: time 1.323e-06/4.046, allocations: 0 / 1.721 GB, free: 72.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.1976/4.244, allocations: 131.5 MB / 1.85 GB, free: 18.84 MB / 0.5573 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.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_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.InductionMachines.IMS_Start.o HanserModelica_HanserModelica.InductionMachines.IMS_Start.c In file included from HanserModelica_HanserModelica.InductionMachines.IMS_Start.c:7: In file included from ./HanserModelica_HanserModelica.InductionMachines.IMS_Start_model.h:24: ./HanserModelica_HanserModelica.InductionMachines.IMS_Start_functions.h:1374: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.IMS_Start_functions.h:1383: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.IMS_Start.o] Error 1