Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 175.5 kB / 16.12 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.06151/0.06151, allocations: 8.777 MB / 25.64 MB, free: 3.727 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.581/1.581, allocations: 205.4 MB / 233.9 MB, free: 12.49 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.0007645/0.0007644, allocations: 90.28 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 12 kB / 344.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2582, allocations: 49.71 MB / 394.5 MB, free: 36.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3074/0.5656, allocations: 140.1 MB / 0.5221 GB, free: 94.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.5658, allocations: 83.78 kB / 0.5222 GB, free: 94.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7131/1.279, allocations: 273.4 MB / 0.7892 GB, free: 18.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.279, allocations: 4 kB / 0.7892 GB, free: 18.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007477/1.28, allocations: 179.8 kB / 0.7893 GB, free: 18.46 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.02722/1.307, allocations: 7.942 MB / 0.7971 GB, free: 10.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.307, allocations: 12.75 kB / 0.7971 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02451/1.332, allocations: 4.57 MB / 0.8016 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/1.346, allocations: 6.11 MB / 0.8075 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008991/1.347, allocations: 0.5911 MB / 0.8081 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003538/1.35, allocations: 0.7672 MB / 0.8089 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/1.386, allocations: 13.64 MB / 0.8222 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004286/1.387, allocations: 15.81 kB / 0.8222 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/1.39, allocations: 332.7 kB / 0.8225 GB, free: 280 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4418/1.831, allocations: 0.5902 MB / 0.8231 GB, free: 47.77 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02758/1.859, allocations: 12.95 MB / 0.8357 GB, free: 47.69 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07979/1.939, allocations: 45.9 MB / 0.8806 GB, free: 37.89 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/1.956, allocations: 16.61 MB / 0.8968 GB, free: 26.43 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008822/1.965, allocations: 5.286 MB / 0.9019 GB, free: 24.17 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/1.966, allocations: 305.1 kB / 0.9022 GB, free: 23.95 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008644/1.974, allocations: 4.577 MB / 0.9067 GB, free: 22 MB / 442.8 MB Notification: Performance of pre-optimization done (n=612): time 1.155e-05/1.974, allocations: 0 / 0.9067 GB, free: 22 MB / 442.8 MB Notification: Performance of matching and sorting (n=618): time 0.06416/2.038, allocations: 28.24 MB / 0.9343 GB, free: 10.12 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/2.039, allocations: 321.3 kB / 0.9346 GB, free: 9.797 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005693/2.044, allocations: 3.051 MB / 0.9376 GB, free: 8.621 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/2.045, allocations: 112 kB / 0.9377 GB, free: 8.523 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/2.047, allocations: 3.016 MB / 0.9406 GB, free: 6.246 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002121/2.049, allocations: 2.048 MB / 0.9426 GB, free: 4.656 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008005/2.05, allocations: 118.9 kB / 0.9427 GB, free: 4.562 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0005039/2.05, allocations: 0.5819 MB / 0.9433 GB, free: 4.133 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005576/2.056, allocations: 3.925 MB / 0.9471 GB, free: 1.566 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01586/2.072, allocations: 6.075 MB / 0.9531 GB, free: 14.1 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/2.089, allocations: 9.72 MB / 0.9626 GB, free: 4.805 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.249e-05/2.089, allocations: 12 kB / 0.9626 GB, free: 4.793 MB / 458.8 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.02435/2.113, allocations: 11.53 MB / 0.9738 GB, free: 10.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/2.113, allocations: 45.7 kB / 0.9739 GB, free: 10.75 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.763e-05/2.113, allocations: 41.41 kB / 0.9739 GB, free: 10.71 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005571/2.119, allocations: 2.574 MB / 0.9764 GB, free: 8.617 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/2.125, allocations: 1.279 MB / 0.9777 GB, free: 7.629 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009086/2.134, allocations: 7.016 MB / 0.9845 GB, free: 1.188 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00561/2.139, allocations: 433.6 kB / 0.9849 GB, free: 0.875 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/2.141, allocations: 275.3 kB / 0.9852 GB, free: 0.6289 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.016/2.157, allocations: 3.498 MB / 0.9886 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002642/2.16, allocations: 426.6 kB / 0.989 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02544/2.185, allocations: 10.76 MB / 0.9995 GB, free: 6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001633/2.185, allocations: 133.6 kB / 0.9997 GB, free: 5.883 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/2.185, allocations: 0 / 0.9997 GB, free: 5.883 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/2.185, allocations: 39.48 kB / 0.9997 GB, free: 5.879 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3054/2.491, allocations: 22.7 MB / 1.022 GB, free: 88.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/2.491, allocations: 7.297 kB / 1.022 GB, free: 88.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/2.494, allocations: 0.8645 MB / 1.023 GB, free: 88.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004618/2.499, allocations: 2.46 MB / 1.025 GB, free: 88.01 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007576/2.5, allocations: 130 kB / 1.025 GB, free: 88.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00681/2.506, allocations: 6.861 MB / 1.032 GB, free: 85.91 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/2.507, allocations: 3.625 kB / 1.032 GB, free: 85.91 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02569/2.532, allocations: 15.73 MB / 1.047 GB, free: 85.17 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004293/2.537, allocations: 1.368 MB / 1.049 GB, free: 85.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/2.538, allocations: 97.5 kB / 1.049 GB, free: 85.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/2.541, allocations: 291.7 kB / 1.049 GB, free: 85.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009087/2.542, allocations: 439.9 kB / 1.049 GB, free: 85.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003897/2.543, allocations: 172.3 kB / 1.05 GB, free: 85.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003352/2.546, allocations: 2.036 MB / 1.052 GB, free: 84.92 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.41e-07/2.546, allocations: 0 / 1.052 GB, free: 84.92 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006658/2.553, allocations: 1.576 MB / 1.053 GB, free: 84.92 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.001301/2.554, allocations: 0.4983 MB / 1.054 GB, free: 84.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01471/2.569, allocations: 9.482 MB / 1.063 GB, free: 84.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/2.569, allocations: 2.188 kB / 1.063 GB, free: 84.52 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008223/2.577, allocations: 4.734 MB / 1.067 GB, free: 84.15 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007362/2.584, allocations: 0.8056 MB / 1.068 GB, free: 83.87 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03429/2.619, allocations: 19.53 MB / 1.087 GB, free: 73.56 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008335/2.627, allocations: 5.182 MB / 1.092 GB, free: 71.57 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.006194/2.633, allocations: 1.55 MB / 1.094 GB, free: 71.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/2.635, allocations: 337.8 kB / 1.094 GB, free: 71.38 MB / 490.8 MB Notification: Performance of SimCode: time 7.01e-07/2.635, allocations: 0 / 1.094 GB, free: 71.38 MB / 490.8 MB Notification: Performance of Templates: time 0.3969/3.032, allocations: 89.31 MB / 1.181 GB, free: 90.73 MB / 490.8 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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_VCurve3 -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_VCurve3.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3_model.h:26: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3_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_VCurve3_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_VCurve3_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_VCurve3_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_VCurve3.o] Error 1