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 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_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 3.2.3+maint.om/package.mo): time 0.000997/0.000997, allocations: 174.9 kB / 16.11 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03903/0.03903, allocations: 8.775 MB / 25.64 MB, free: 3.77 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.556/1.556, 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.000806/0.000806, allocations: 102.2 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004602, allocations: 15.98 kB / 344.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2303, allocations: 49.71 MB / 394.5 MB, free: 36.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.5827, allocations: 140.1 MB / 0.5221 GB, free: 94.22 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.583, allocations: 79.84 kB / 0.5222 GB, free: 94.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7384/1.321, allocations: 273.4 MB / 0.7892 GB, free: 18.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.321, allocations: 0 / 0.7892 GB, free: 18.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005957/1.322, allocations: 179.8 kB / 0.7893 GB, free: 18.48 MB / 426.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.02654/1.349, allocations: 7.937 MB / 0.7971 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.349, allocations: 8.75 kB / 0.7971 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02421/1.373, allocations: 4.574 MB / 0.8016 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/1.386, allocations: 6.115 MB / 0.8075 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008593/1.387, allocations: 0.5926 MB / 0.8081 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004523/1.392, allocations: 0.7723 MB / 0.8089 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03533/1.427, allocations: 13.64 MB / 0.8222 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/1.427, allocations: 15.81 kB / 0.8222 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00332/1.431, allocations: 335.1 kB / 0.8225 GB, free: 296 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4643/1.895, allocations: 0.5896 MB / 0.8231 GB, free: 48.04 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02775/1.923, allocations: 12.95 MB / 0.8357 GB, free: 47.96 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07959/2.003, allocations: 45.9 MB / 0.8806 GB, free: 38.18 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/2.02, allocations: 16.62 MB / 0.8968 GB, free: 26.71 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008226/2.028, allocations: 5.285 MB / 0.9019 GB, free: 24.45 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/2.029, allocations: 300 kB / 0.9022 GB, free: 24.23 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006592/2.035, allocations: 4.578 MB / 0.9067 GB, free: 22.28 MB / 442.8 MB Notification: Performance of pre-optimization done (n=612): time 8.426e-06/2.035, allocations: 0 / 0.9067 GB, free: 22.28 MB / 442.8 MB Notification: Performance of matching and sorting (n=618): time 0.05755/2.093, allocations: 28.25 MB / 0.9343 GB, free: 10.41 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/2.093, allocations: 324.4 kB / 0.9346 GB, free: 10.08 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/2.097, allocations: 3.04 MB / 0.9376 GB, free: 8.914 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/2.098, allocations: 111.1 kB / 0.9377 GB, free: 8.816 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/2.099, allocations: 3.022 MB / 0.9406 GB, free: 6.535 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002006/2.101, allocations: 2.041 MB / 0.9426 GB, free: 4.945 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/2.102, allocations: 122.3 kB / 0.9427 GB, free: 4.848 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003403/2.102, allocations: 0.5812 MB / 0.9433 GB, free: 4.418 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005238/2.107, allocations: 3.925 MB / 0.9471 GB, free: 1.883 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01463/2.122, allocations: 5.955 MB / 0.9529 GB, free: 14.09 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/2.138, allocations: 9.718 MB / 0.9624 GB, free: 4.801 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.498e-05/2.139, allocations: 12 kB / 0.9624 GB, free: 4.789 MB / 458.8 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.02291/2.161, allocations: 11.54 MB / 0.9737 GB, free: 10.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/2.162, allocations: 46.8 kB / 0.9738 GB, free: 10.75 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/2.162, allocations: 40 kB / 0.9738 GB, free: 10.71 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005574/2.167, allocations: 2.57 MB / 0.9763 GB, free: 8.625 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/2.173, allocations: 1.278 MB / 0.9776 GB, free: 7.637 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009703/2.183, allocations: 7.02 MB / 0.9844 GB, free: 1.191 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006051/2.189, allocations: 433.8 kB / 0.9848 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/2.191, allocations: 272.6 kB / 0.9851 GB, free: 0.6367 MB / 474.8 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.01564/2.207, allocations: 3.496 MB / 0.9885 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002231/2.209, allocations: 430.6 kB / 0.9889 GB, free: 15.23 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02619/2.235, allocations: 10.76 MB / 0.9994 GB, free: 5.996 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000185/2.235, allocations: 134.6 kB / 0.9995 GB, free: 5.879 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/2.235, allocations: 0 / 0.9995 GB, free: 5.879 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001206/2.235, allocations: 28.38 kB / 0.9996 GB, free: 5.875 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3049/2.54, allocations: 22.71 MB / 1.022 GB, free: 88.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/2.54, allocations: 6.156 kB / 1.022 GB, free: 88.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00389/2.544, allocations: 0.8643 MB / 1.023 GB, free: 88.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/2.549, allocations: 2.451 MB / 1.025 GB, free: 88.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001147/2.55, allocations: 130.4 kB / 1.025 GB, free: 88.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006883/2.557, allocations: 6.861 MB / 1.032 GB, free: 86.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/2.557, allocations: 12.02 kB / 1.032 GB, free: 86.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02481/2.582, allocations: 15.73 MB / 1.047 GB, free: 85.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004765/2.587, allocations: 1.365 MB / 1.049 GB, free: 85.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/2.589, allocations: 99.47 kB / 1.049 GB, free: 85.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/2.592, allocations: 292.2 kB / 1.049 GB, free: 85.34 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009149/2.593, allocations: 437 kB / 1.049 GB, free: 85.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003768/2.593, allocations: 166.8 kB / 1.049 GB, free: 85.32 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003818/2.597, allocations: 2.038 MB / 1.051 GB, free: 85.18 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.2e-07/2.597, allocations: 1.5 kB / 1.051 GB, free: 85.18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007148/2.604, allocations: 1.579 MB / 1.053 GB, free: 85.18 MB / 490.8 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.001578/2.606, allocations: 0.5037 MB / 1.053 GB, free: 85.08 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0158/2.622, allocations: 9.483 MB / 1.063 GB, free: 84.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/2.622, allocations: 0 / 1.063 GB, free: 84.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007521/2.629, allocations: 4.739 MB / 1.067 GB, free: 84.43 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006053/2.636, allocations: 0.8022 MB / 1.068 GB, free: 84.15 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/2.668, allocations: 19.53 MB / 1.087 GB, free: 73.85 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005623/2.674, allocations: 5.175 MB / 1.092 GB, free: 71.86 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00552/2.679, allocations: 1.544 MB / 1.094 GB, free: 71.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/2.681, allocations: 340.8 kB / 1.094 GB, free: 71.67 MB / 490.8 MB Notification: Performance of SimCode: time 1.183e-06/2.681, allocations: 0 / 1.094 GB, free: 71.67 MB / 490.8 MB Notification: Performance of Templates: time 0.4038/3.084, allocations: 89.31 MB / 1.181 GB, free: 91 MB / 490.8 MB 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 -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_VCurve2 -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_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:26: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2_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_VCurve2_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_VCurve2_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_VCurve2_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_VCurve2.o] Error 1