Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004761/0.004761, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03859/0.03859, allocations: 8.801 MB / 24.65 MB, free: 4.113 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.254/1.254, allocations: 223.2 MB / 250.7 MB, free: 6.535 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.0008735/0.0008735, allocations: 99.64 kB / 304 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 12 kB / 367.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2318, allocations: 52.54 MB / 419.6 MB, free: 48.14 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.3741, allocations: 139.7 MB / 0.5462 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.3743, allocations: 79.97 kB / 0.5463 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7187/1.093, allocations: 221 MB / 0.7621 GB, free: 48.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.266e-06/1.093, allocations: 0 / 0.7621 GB, free: 48.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003426/1.093, allocations: 144.6 kB / 0.7622 GB, free: 48.28 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01938/1.113, allocations: 6.524 MB / 0.7686 GB, free: 46.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.113, allocations: 10.28 kB / 0.7686 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/1.13, allocations: 3.032 MB / 0.7716 GB, free: 45.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/1.142, allocations: 5.596 MB / 0.777 GB, free: 45.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/1.142, allocations: 475.9 kB / 0.7775 GB, free: 45.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/1.144, allocations: 0.6112 MB / 0.7781 GB, free: 45.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/1.159, allocations: 10.23 MB / 0.7881 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/1.16, allocations: 7.688 kB / 0.7881 GB, free: 44.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006738/1.16, allocations: 277.8 kB / 0.7884 GB, free: 44.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000403/1.161, allocations: 0.4922 MB / 0.7888 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/1.174, allocations: 9.28 MB / 0.7979 GB, free: 42.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04628/1.221, allocations: 35.5 MB / 0.8326 GB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/1.234, allocations: 20.8 MB / 0.8529 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/1.235, allocations: 227.2 kB / 0.8531 GB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.235, allocations: 60.89 kB / 0.8531 GB, free: 2.008 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 5.641e-06/1.235, allocations: 3.844 kB / 0.8532 GB, free: 2.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=301): time 0.02405/1.259, allocations: 11.01 MB / 0.8639 GB, free: 8.891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/1.259, allocations: 85.78 kB / 0.864 GB, free: 8.793 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004908/1.264, allocations: 2.679 MB / 0.8666 GB, free: 6.508 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003417/1.264, allocations: 73.7 kB / 0.8667 GB, free: 6.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.266, allocations: 2.857 MB / 0.8695 GB, free: 3.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.267, allocations: 1.033 MB / 0.8705 GB, free: 2.961 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/1.268, allocations: 92 kB / 0.8706 GB, free: 2.871 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003571/1.268, allocations: 0.4914 MB / 0.871 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/1.271, allocations: 2.008 MB / 0.873 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008542/1.28, allocations: 4.051 MB / 0.877 GB, free: 13.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/1.284, allocations: 2.809 MB / 0.8797 GB, free: 11.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-05/1.284, allocations: 16 kB / 0.8797 GB, free: 11.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01107/1.295, allocations: 6.576 MB / 0.8861 GB, free: 5.297 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/1.295, allocations: 28 kB / 0.8862 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-05/1.295, allocations: 59.94 kB / 0.8862 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/1.297, allocations: 0.6659 MB / 0.8869 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003952/1.301, allocations: 1.073 MB / 0.8879 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2127/1.514, allocations: 5.898 MB / 0.8937 GB, free: 73.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/1.518, allocations: 303.8 kB / 0.894 GB, free: 73.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/1.518, allocations: 227.5 kB / 0.8942 GB, free: 73.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (561): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003486/1.522, allocations: 2.312 MB / 0.8964 GB, free: 73.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005553/1.522, allocations: 322.1 kB / 0.8968 GB, free: 73.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006291/1.529, allocations: 4.618 MB / 0.9013 GB, free: 73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.529, allocations: 31.31 kB / 0.9013 GB, free: 73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.529, allocations: 6.656 kB / 0.9013 GB, free: 73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/1.529, allocations: 16.53 kB / 0.9013 GB, free: 73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.544, allocations: 11.13 MB / 0.9122 GB, free: 71.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.544, allocations: 6.562 kB / 0.9122 GB, free: 71.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/1.546, allocations: 0.5318 MB / 0.9127 GB, free: 71.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/1.547, allocations: 0.5615 MB / 0.9133 GB, free: 71.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/1.547, allocations: 70.38 kB / 0.9133 GB, free: 71.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006286/1.554, allocations: 5.195 MB / 0.9184 GB, free: 70.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.554, allocations: 4.875 kB / 0.9184 GB, free: 70.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008218/1.562, allocations: 7.025 MB / 0.9253 GB, free: 69.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.564, allocations: 0.7587 MB / 0.926 GB, free: 69.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/1.564, allocations: 56.72 kB / 0.9261 GB, free: 69.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.566, allocations: 158.3 kB / 0.9262 GB, free: 69.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.566, allocations: 204.6 kB / 0.9264 GB, free: 69.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.566, allocations: 89.3 kB / 0.9265 GB, free: 69.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002811/1.569, allocations: 1.979 MB / 0.9284 GB, free: 69.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.569, allocations: 0.5625 kB / 0.9284 GB, free: 69.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003911/1.573, allocations: 1.228 MB / 0.9296 GB, free: 69.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (smee.excitation.electroMagneticConverter.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,65.6%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006702/1.573, allocations: 446.5 kB / 0.93 GB, free: 68.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006153/1.58, allocations: 4.993 MB / 0.9349 GB, free: 68.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.58, allocations: 0 / 0.9349 GB, free: 68.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002748/1.582, allocations: 2.25 MB / 0.9371 GB, free: 68.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/1.585, allocations: 0.5813 MB / 0.9377 GB, free: 68.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/1.603, allocations: 13.8 MB / 0.9512 GB, free: 63.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/1.606, allocations: 4.246 MB / 0.9553 GB, free: 62.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00407/1.61, allocations: 1.406 MB / 0.9567 GB, free: 62.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/1.611, allocations: 274 kB / 0.9569 GB, free: 62.19 MB / 474.7 MB Notification: Performance of SimCode: time 9.41e-07/1.611, allocations: 0.8438 kB / 0.9569 GB, free: 62.19 MB / 474.7 MB Notification: Performance of Templates: time 0.06239/1.673, allocations: 46.12 MB / 1.002 GB, free: 51.34 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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_Slip1 -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_Slip1.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1_model.h:24: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1_functions.h:915: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_Slip1_functions.h:924: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_Slip1_functions.h:933: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_Slip1_functions.h:942: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_Slip1_functions.h:951: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_Slip1_functions.h:960: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_Slip1.o] Error 1