Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004818/0.004818, allocations: 170.6 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03639/0.03639, allocations: 8.799 MB / 24.65 MB, free: 4.129 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.198/1.198, allocations: 223.2 MB / 250.7 MB, free: 6.559 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.0007999/0.0007998, allocations: 109 kB / 304 MB, free: 4.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 12 kB / 367.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 52.55 MB / 419.6 MB, free: 48.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.3907, allocations: 140.1 MB / 0.5465 GB, free: 12.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.391, allocations: 79.97 kB / 0.5466 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8184/1.209, allocations: 272.2 MB / 0.8125 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.209, allocations: 0 / 0.8125 GB, free: 43.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003449/1.21, allocations: 172.3 kB / 0.8126 GB, free: 43.05 MB / 442.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.02077/1.231, allocations: 7.884 MB / 0.8203 GB, free: 39.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/1.231, allocations: 9.125 kB / 0.8204 GB, free: 39.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02/1.251, allocations: 3.914 MB / 0.8242 GB, free: 38.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/1.264, allocations: 6.789 MB / 0.8308 GB, free: 35.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000382/1.265, allocations: 0.5623 MB / 0.8314 GB, free: 35.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/1.267, allocations: 0.7455 MB / 0.8321 GB, free: 34.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/1.285, allocations: 12.63 MB / 0.8444 GB, free: 24.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/1.285, allocations: 15.91 kB / 0.8444 GB, free: 24.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007339/1.286, allocations: 329.2 kB / 0.8448 GB, free: 23.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003936/1.286, allocations: 0.5904 MB / 0.8453 GB, free: 23.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/1.302, allocations: 11.56 MB / 0.8566 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2708/1.573, allocations: 43.59 MB / 0.8992 GB, free: 61.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/1.59, allocations: 25.16 MB / 0.9238 GB, free: 41.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/1.59, allocations: 241 kB / 0.924 GB, free: 41.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003244/1.594, allocations: 2.55 MB / 0.9265 GB, free: 41.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=391): time 5.44e-06/1.594, allocations: 2.031 kB / 0.9265 GB, free: 41.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=397): time 0.03127/1.625, allocations: 17.84 MB / 0.9439 GB, free: 37.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.625, allocations: 360 kB / 0.9442 GB, free: 37.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004967/1.63, allocations: 3.122 MB / 0.9473 GB, free: 36.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006331/1.631, allocations: 92.92 kB / 0.9474 GB, free: 36.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.632, allocations: 3.368 MB / 0.9507 GB, free: 35.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.634, allocations: 1.348 MB / 0.952 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/1.634, allocations: 111 kB / 0.9521 GB, free: 34.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002463/1.634, allocations: 0.531 MB / 0.9526 GB, free: 34.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003244/1.637, allocations: 2.533 MB / 0.9551 GB, free: 34.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00481/1.642, allocations: 4.453 MB / 0.9594 GB, free: 31.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005476/1.648, allocations: 3.526 MB / 0.9629 GB, free: 31.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.971e-05/1.648, allocations: 18.03 kB / 0.9629 GB, free: 31.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01383/1.662, allocations: 8.23 MB / 0.9709 GB, free: 31.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.204e-05/1.662, allocations: 55.95 kB / 0.971 GB, free: 31.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/1.662, allocations: 60.19 kB / 0.971 GB, free: 31.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/1.665, allocations: 1.013 MB / 0.972 GB, free: 31.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004813/1.669, allocations: 1.265 MB / 0.9733 GB, free: 31.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/1.68, allocations: 8.521 MB / 0.9816 GB, free: 29.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005213/1.685, allocations: 395 kB / 0.982 GB, free: 29.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009756/1.686, allocations: 263.9 kB / 0.9822 GB, free: 29.73 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.006204/1.692, allocations: 2.891 MB / 0.985 GB, free: 29.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.693, allocations: 392.1 kB / 0.9854 GB, free: 29.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009458/1.703, allocations: 6.168 MB / 0.9914 GB, free: 28.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/1.703, allocations: 46.39 kB / 0.9915 GB, free: 28.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.703, allocations: 7.531 kB / 0.9915 GB, free: 28.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/1.703, allocations: 24.08 kB / 0.9915 GB, free: 28.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/1.727, allocations: 15.01 MB / 1.006 GB, free: 22.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.727, allocations: 9.281 kB / 1.006 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.73, allocations: 0.6867 MB / 1.007 GB, free: 22.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/1.732, allocations: 0.8847 MB / 1.008 GB, free: 22.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/1.733, allocations: 90.91 kB / 1.008 GB, free: 21.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008786/1.741, allocations: 7.403 MB / 1.015 GB, free: 17.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.741, allocations: 6.531 kB / 1.015 GB, free: 17.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.753, allocations: 9.237 MB / 1.024 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.756, allocations: 0.9413 MB / 1.025 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/1.757, allocations: 72.25 kB / 1.025 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.759, allocations: 223.9 kB / 1.025 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005047/1.76, allocations: 268.5 kB / 1.026 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.76, allocations: 116.8 kB / 1.026 GB, free: 12.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003542/1.764, allocations: 2.325 MB / 1.028 GB, free: 11.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.764, allocations: 0 / 1.028 GB, free: 11.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005653/1.769, allocations: 1.517 MB / 1.029 GB, free: 10.85 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.0008177/1.77, allocations: 489.2 kB / 1.03 GB, free: 10.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00877/1.779, allocations: 6.45 MB / 1.036 GB, free: 4.941 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.779, allocations: 1.328 kB / 1.036 GB, free: 4.941 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004489/1.783, allocations: 3.087 MB / 1.039 GB, free: 2.199 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.787, allocations: 0.7224 MB / 1.04 GB, free: 1.629 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/1.822, allocations: 17.48 MB / 1.057 GB, free: 3.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009791/1.831, allocations: 5.479 MB / 1.062 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005801/1.837, allocations: 1.667 MB / 1.064 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.838, allocations: 331.7 kB / 1.064 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/1.839, allocations: 0 / 1.064 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.2891/2.128, allocations: 59.22 MB / 1.122 GB, free: 92.43 MB / 0.4948 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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_VCurve4 -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_VCurve4.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4_model.h:24: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4_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_VCurve4_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_VCurve4_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_VCurve4_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_VCurve4_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_VCurve4_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_VCurve4.o] Error 1