Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009398/0.0009396, allocations: 171.1 kB / 16.11 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03893/0.03893, allocations: 8.771 MB / 25.64 MB, free: 3.766 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 100.8 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004376, allocations: 16 kB / 344.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2338, allocations: 49.71 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.6094, allocations: 140 MB / 0.522 GB, free: 60.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.6096, allocations: 82.33 kB / 0.5221 GB, free: 60.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7453/1.355, allocations: 273 MB / 0.7887 GB, free: 40.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.355, allocations: 4 kB / 0.7887 GB, free: 40.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005596/1.355, allocations: 175.8 kB / 0.7888 GB, free: 40.27 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.026/1.382, allocations: 7.943 MB / 0.7966 GB, free: 32.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/1.382, allocations: 12.75 kB / 0.7966 GB, free: 32.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02469/1.406, allocations: 4.567 MB / 0.8011 GB, free: 27.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/1.422, allocations: 6.114 MB / 0.807 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008411/1.423, allocations: 0.5888 MB / 0.8076 GB, free: 21.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003306/1.426, allocations: 0.7643 MB / 0.8084 GB, free: 20.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0335/1.46, allocations: 13.65 MB / 0.8217 GB, free: 6.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006143/1.46, allocations: 11.84 kB / 0.8217 GB, free: 6.387 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003652/1.464, allocations: 334.9 kB / 0.822 GB, free: 6.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000682/1.465, allocations: 0.5905 MB / 0.8226 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2874/1.752, allocations: 12.94 MB / 0.8352 GB, free: 47.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07638/1.829, allocations: 45.89 MB / 0.8801 GB, free: 39.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/1.845, allocations: 16.61 MB / 0.8963 GB, free: 27.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00917/1.854, allocations: 5.284 MB / 0.9014 GB, free: 25.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006948/1.855, allocations: 301.7 kB / 0.9017 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00766/1.863, allocations: 4.578 MB / 0.9062 GB, free: 23.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=612): time 1.133e-05/1.863, allocations: 0 / 0.9062 GB, free: 23.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=618): time 0.064/1.927, allocations: 28.25 MB / 0.9338 GB, free: 11.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.927, allocations: 318.7 kB / 0.9341 GB, free: 11.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005437/1.932, allocations: 3.047 MB / 0.9371 GB, free: 10.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000896/1.933, allocations: 111.9 kB / 0.9372 GB, free: 9.969 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/1.935, allocations: 3.013 MB / 0.9401 GB, free: 7.695 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.937, allocations: 2.052 MB / 0.9421 GB, free: 6.098 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007669/1.938, allocations: 126.8 kB / 0.9422 GB, free: 6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004967/1.938, allocations: 0.5684 MB / 0.9428 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006081/1.944, allocations: 3.927 MB / 0.9466 GB, free: 3.953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006802/1.951, allocations: 5.385 MB / 0.9519 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/1.967, allocations: 9.725 MB / 0.9614 GB, free: 8.738 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.898e-05/1.967, allocations: 8 kB / 0.9614 GB, free: 8.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.02682/1.994, allocations: 11.76 MB / 0.9729 GB, free: 15.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/1.994, allocations: 50.8 kB / 0.9729 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.994, allocations: 43.61 kB / 0.973 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005753/2, allocations: 2.569 MB / 0.9755 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005724/2.006, allocations: 1.282 MB / 0.9767 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009185/2.015, allocations: 7.019 MB / 0.9836 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006073/2.021, allocations: 434.5 kB / 0.984 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/2.023, allocations: 268.7 kB / 0.9843 GB, free: 5.172 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * 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 (670): * Single equations (assignments): 632 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 33 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 4,6 9,6 9,10 71} Notification: Performance of prepare postOptimizeDAE: time 0.008811/2.032, allocations: 2.946 MB / 0.9871 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/2.034, allocations: 425.6 kB / 0.9875 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03218/2.066, allocations: 11.33 MB / 0.9986 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001966/2.066, allocations: 133.2 kB / 0.9987 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.732e-05/2.066, allocations: 0 / 0.9987 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001298/2.066, allocations: 27.38 kB / 0.9988 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.31/2.376, allocations: 22.9 MB / 1.021 GB, free: 90.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/2.376, allocations: 5.312 kB / 1.021 GB, free: 90.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003684/2.38, allocations: 0.8688 MB / 1.022 GB, free: 90.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0049/2.385, allocations: 2.458 MB / 1.024 GB, free: 90.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/2.386, allocations: 128.9 kB / 1.024 GB, free: 90.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006542/2.393, allocations: 6.86 MB / 1.031 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/2.393, allocations: 7.156 kB / 1.031 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02414/2.417, allocations: 15.73 MB / 1.047 GB, free: 88.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00366/2.42, allocations: 1.372 MB / 1.048 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/2.422, allocations: 104.8 kB / 1.048 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/2.425, allocations: 287 kB / 1.048 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008837/2.426, allocations: 439.6 kB / 1.049 GB, free: 87.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004363/2.426, allocations: 165.8 kB / 1.049 GB, free: 87.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003393/2.429, allocations: 2.04 MB / 1.051 GB, free: 87.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.193e-06/2.429, allocations: 0 / 1.051 GB, free: 87.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006192/2.436, allocations: 1.579 MB / 1.052 GB, free: 87.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (467): * Single equations (assignments): 429 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 33 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 4,6 9,6 9,10 69} Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/2.437, allocations: 0.5034 MB / 1.053 GB, free: 87.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01648/2.454, allocations: 9.475 MB / 1.062 GB, free: 87.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.454, allocations: 2.406 kB / 1.062 GB, free: 87.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009174/2.463, allocations: 4.728 MB / 1.067 GB, free: 87.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008234/2.471, allocations: 0.8099 MB / 1.068 GB, free: 87.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03678/2.508, allocations: 19.53 MB / 1.087 GB, free: 77.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009035/2.517, allocations: 5.176 MB / 1.092 GB, free: 75.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006992/2.524, allocations: 1.544 MB / 1.093 GB, free: 75.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/2.526, allocations: 340.7 kB / 1.094 GB, free: 75.54 MB / 490.7 MB Notification: Performance of SimCode: time 8.91e-07/2.526, allocations: 4 kB / 1.094 GB, free: 75.54 MB / 490.7 MB Notification: Performance of Templates: time 0.1349/2.661, allocations: 89.3 MB / 1.181 GB, free: 17.3 MB / 490.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1_model.h:26: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1_functions.h:964: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_VCurve1_functions.h:973: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_VCurve1_functions.h:982: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_VCurve1_functions.h:991: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); ^ 4 errors generated. make: *** [: HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.o] Error 1