Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004647/0.004647, allocations: 169.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03633/0.03633, allocations: 8.8 MB / 24.65 MB, free: 4.121 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.25/1.25, allocations: 223.2 MB / 250.7 MB, free: 6.578 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.0008384/0.0008384, allocations: 100.7 kB / 304 MB, free: 4.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 11.98 kB / 367.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 52.54 MB / 419.6 MB, free: 48.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.3844, allocations: 140 MB / 0.5465 GB, free: 12.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.3847, allocations: 87.94 kB / 0.5466 GB, free: 12.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8187/1.203, allocations: 272.3 MB / 0.8125 GB, free: 58.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.203, allocations: 0 / 0.8125 GB, free: 58.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005669/1.204, allocations: 169.8 kB / 0.8127 GB, free: 58.93 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.02366/1.228, allocations: 7.895 MB / 0.8204 GB, free: 55.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/1.228, allocations: 8.438 kB / 0.8204 GB, free: 55.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01981/1.248, allocations: 3.909 MB / 0.8242 GB, free: 54.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/1.263, allocations: 6.786 MB / 0.8308 GB, free: 51.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004915/1.264, allocations: 0.5646 MB / 0.8314 GB, free: 50.97 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002565/1.266, allocations: 0.7397 MB / 0.8321 GB, free: 50.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/1.294, allocations: 12.63 MB / 0.8444 GB, free: 40.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/1.294, allocations: 7.906 kB / 0.8444 GB, free: 40.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/1.296, allocations: 331.1 kB / 0.8448 GB, free: 39.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004504/1.296, allocations: 0.5943 MB / 0.8453 GB, free: 39.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/1.315, allocations: 11.55 MB / 0.8566 GB, free: 27.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3194/1.634, allocations: 43.6 MB / 0.8992 GB, free: 60.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/1.653, allocations: 25.15 MB / 0.9238 GB, free: 41.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/1.654, allocations: 243.3 kB / 0.924 GB, free: 41.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004245/1.658, allocations: 2.555 MB / 0.9265 GB, free: 40.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=391): time 5.44e-06/1.658, allocations: 3.812 kB / 0.9265 GB, free: 40.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=397): time 0.03662/1.695, allocations: 17.83 MB / 0.9439 GB, free: 37.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.695, allocations: 361.3 kB / 0.9442 GB, free: 36.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005795/1.701, allocations: 3.13 MB / 0.9473 GB, free: 36.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007421/1.702, allocations: 90.58 kB / 0.9474 GB, free: 36.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002272/1.704, allocations: 3.362 MB / 0.9507 GB, free: 35.03 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001608/1.705, allocations: 1.346 MB / 0.952 GB, free: 34.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/1.706, allocations: 116.2 kB / 0.9521 GB, free: 34.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003055/1.706, allocations: 0.5307 MB / 0.9526 GB, free: 33.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004049/1.71, allocations: 2.523 MB / 0.9551 GB, free: 33.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004998/1.715, allocations: 4.459 MB / 0.9594 GB, free: 31.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005597/1.721, allocations: 3.531 MB / 0.9629 GB, free: 31.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.377e-05/1.721, allocations: 17.72 kB / 0.9629 GB, free: 31.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01352/1.734, allocations: 8.223 MB / 0.9709 GB, free: 31.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/1.735, allocations: 57.48 kB / 0.971 GB, free: 31.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/1.735, allocations: 63.44 kB / 0.971 GB, free: 31.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/1.737, allocations: 1.013 MB / 0.972 GB, free: 31.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/1.742, allocations: 1.262 MB / 0.9733 GB, free: 31.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.752, allocations: 8.524 MB / 0.9816 GB, free: 29.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.757, allocations: 394 kB / 0.982 GB, free: 29.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008733/1.758, allocations: 267.4 kB / 0.9822 GB, free: 29.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (663): * Single equations (assignments): 661 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,52.0%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006215/1.764, allocations: 2.893 MB / 0.9851 GB, free: 29.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.765, allocations: 396.3 kB / 0.9854 GB, free: 29.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/1.777, allocations: 6.163 MB / 0.9914 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/1.777, allocations: 43.41 kB / 0.9915 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.777, allocations: 7.625 kB / 0.9915 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-05/1.777, allocations: 23.69 kB / 0.9915 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.8, allocations: 15.01 MB / 1.006 GB, free: 22.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.8, allocations: 8.438 kB / 1.006 GB, free: 22.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.803, allocations: 0.6803 MB / 1.007 GB, free: 22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/1.805, allocations: 0.8824 MB / 1.008 GB, free: 21.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002762/1.805, allocations: 85.3 kB / 1.008 GB, free: 21.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00854/1.814, allocations: 7.41 MB / 1.015 GB, free: 17.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.814, allocations: 4.688 kB / 1.015 GB, free: 17.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.825, allocations: 9.239 MB / 1.024 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/1.828, allocations: 0.938 MB / 1.025 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009425/1.829, allocations: 80.62 kB / 1.025 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/1.831, allocations: 213.6 kB / 1.025 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004817/1.832, allocations: 277.9 kB / 1.026 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/1.832, allocations: 116 kB / 1.026 GB, free: 12.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003232/1.835, allocations: 2.326 MB / 1.028 GB, free: 11.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.835, allocations: 0 / 1.028 GB, free: 11.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006453/1.842, allocations: 1.512 MB / 1.029 GB, free: 10.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.excitation.electroMagneticConverter.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,52.0%) 46} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009749/1.843, allocations: 486.2 kB / 1.03 GB, free: 10.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009164/1.852, allocations: 6.449 MB / 1.036 GB, free: 4.801 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.852, allocations: 0 / 1.036 GB, free: 4.801 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004334/1.856, allocations: 3.095 MB / 1.039 GB, free: 2.055 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.86, allocations: 0.7196 MB / 1.04 GB, free: 1.484 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0367/1.897, allocations: 17.53 MB / 1.057 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009838/1.907, allocations: 5.484 MB / 1.062 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005523/1.912, allocations: 1.665 MB / 1.064 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.913, allocations: 330.5 kB / 1.064 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/1.913, allocations: 0 / 1.064 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.3139/2.227, allocations: 59.22 MB / 1.122 GB, free: 92.54 MB / 0.4948 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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_SynchronousMachines_SMEE_VCurve2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2_model.h:24: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2_functions.h:1064:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24apparentPower' _omcQComplexOutput_24multiSensor_24apparentPower omc__omcQComplexOutput_24multiSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2_functions.h:1073:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24apparentPowerTotal' _omcQComplexOutput_24multiSensor_24apparentPowerTotal omc__omcQComplexOutput_24multiSensor_24apparentPowerTotal (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2_functions.h:1082:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24i' _omcQComplexOutput_24multiSensor_24i omc__omcQComplexOutput_24multiSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2_functions.h:1091:1: error: unknown type name '_omcQComplexOutput_24multiSensor_24v' _omcQComplexOutput_24multiSensor_24v omc__omcQComplexOutput_24multiSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2_functions.h:1100:1: error: unknown type name '_omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v' _omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v omc__omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2_functions.h:1109:1: error: unknown type name '_omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v' _omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v omc__omcQComplexOutput_24rotorDisplacementAngle_24voltageSensor_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 6 errors generated. make: *** [: HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.o] Error 1