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 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_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 4.0.0+maint.om/package.mo): time 0.004856/0.004857, allocations: 169.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03638/0.03638, allocations: 8.801 MB / 24.65 MB, free: 4.094 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.202/1.202, allocations: 223.2 MB / 250.7 MB, free: 6.562 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.0007919/0.0007919, allocations: 99.61 kB / 304 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 12 kB / 367.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2384, allocations: 52.54 MB / 419.6 MB, free: 48.2 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.3811, allocations: 140 MB / 0.5465 GB, free: 12.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.3814, allocations: 83.95 kB / 0.5466 GB, free: 12.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8132/1.195, allocations: 272.3 MB / 0.8125 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.195, allocations: 0 / 0.8125 GB, free: 42.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003376/1.195, allocations: 171.6 kB / 0.8127 GB, free: 42.97 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.02092/1.216, allocations: 7.889 MB / 0.8204 GB, free: 39.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.216, allocations: 11.59 kB / 0.8204 GB, free: 39.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02166/1.238, allocations: 3.905 MB / 0.8242 GB, free: 38.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/1.252, allocations: 6.795 MB / 0.8308 GB, free: 35.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/1.252, allocations: 0.5705 MB / 0.8314 GB, free: 35.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/1.254, allocations: 0.7402 MB / 0.8321 GB, free: 34.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/1.274, allocations: 12.63 MB / 0.8444 GB, free: 24.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/1.274, allocations: 19.83 kB / 0.8445 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000802/1.275, allocations: 326.5 kB / 0.8448 GB, free: 23.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004201/1.275, allocations: 0.5904 MB / 0.8453 GB, free: 23.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/1.294, allocations: 11.55 MB / 0.8566 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3127/1.607, allocations: 43.6 MB / 0.8992 GB, free: 61.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/1.625, allocations: 25.15 MB / 0.9238 GB, free: 41.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005047/1.626, allocations: 242.2 kB / 0.924 GB, free: 41.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003435/1.629, allocations: 2.555 MB / 0.9265 GB, free: 40.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=391): time 5.721e-06/1.629, allocations: 0 / 0.9265 GB, free: 40.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=397): time 0.03222/1.661, allocations: 17.84 MB / 0.9439 GB, free: 37.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.661, allocations: 355.5 kB / 0.9443 GB, free: 36.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/1.666, allocations: 3.127 MB / 0.9473 GB, free: 36.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004065/1.667, allocations: 89.83 kB / 0.9474 GB, free: 36.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/1.668, allocations: 3.367 MB / 0.9507 GB, free: 35.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000916/1.669, allocations: 1.344 MB / 0.952 GB, free: 34.26 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/1.669, allocations: 114.7 kB / 0.9521 GB, free: 34.26 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002346/1.67, allocations: 0.5277 MB / 0.9526 GB, free: 33.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003173/1.673, allocations: 2.531 MB / 0.9551 GB, free: 33.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004842/1.678, allocations: 4.456 MB / 0.9594 GB, free: 31.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/1.683, allocations: 3.53 MB / 0.9629 GB, free: 31.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.569e-05/1.683, allocations: 17.59 kB / 0.9629 GB, free: 31.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01244/1.695, allocations: 8.221 MB / 0.9709 GB, free: 31.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/1.695, allocations: 60.64 kB / 0.971 GB, free: 31.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.833e-05/1.695, allocations: 58.09 kB / 0.971 GB, free: 31.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/1.698, allocations: 1.011 MB / 0.972 GB, free: 31.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/1.702, allocations: 1.271 MB / 0.9733 GB, free: 31.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.712, allocations: 8.518 MB / 0.9816 GB, free: 29.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/1.717, allocations: 386.7 kB / 0.982 GB, free: 29.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005911/1.717, allocations: 263.8 kB / 0.9822 GB, free: 29.55 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.005551/1.723, allocations: 2.909 MB / 0.9851 GB, free: 29.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.724, allocations: 393.1 kB / 0.9854 GB, free: 29.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009528/1.734, allocations: 6.161 MB / 0.9914 GB, free: 28.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.734, allocations: 41.34 kB / 0.9915 GB, free: 28.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.734, allocations: 8.594 kB / 0.9915 GB, free: 28.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/1.734, allocations: 23.22 kB / 0.9915 GB, free: 28.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/1.755, allocations: 15.01 MB / 1.006 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/1.755, allocations: 6.5 kB / 1.006 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.758, allocations: 0.6798 MB / 1.007 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/1.76, allocations: 0.8836 MB / 1.008 GB, free: 21.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/1.76, allocations: 81.67 kB / 1.008 GB, free: 21.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008497/1.768, allocations: 7.415 MB / 1.015 GB, free: 17.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.768, allocations: 9.281 kB / 1.015 GB, free: 17.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/1.78, allocations: 9.247 MB / 1.024 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/1.782, allocations: 0.941 MB / 1.025 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005155/1.782, allocations: 79.31 kB / 1.025 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.784, allocations: 211.6 kB / 1.025 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004653/1.785, allocations: 270.6 kB / 1.026 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.785, allocations: 115.2 kB / 1.026 GB, free: 12.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003061/1.788, allocations: 2.32 MB / 1.028 GB, free: 11.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.788, allocations: 0 / 1.028 GB, free: 11.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00509/1.793, allocations: 1.52 MB / 1.029 GB, free: 10.63 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.0008236/1.794, allocations: 479.4 kB / 1.03 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008621/1.803, allocations: 6.455 MB / 1.036 GB, free: 4.711 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.803, allocations: 0 / 1.036 GB, free: 4.711 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004021/1.807, allocations: 3.095 MB / 1.039 GB, free: 1.965 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/1.81, allocations: 0.7156 MB / 1.04 GB, free: 1.395 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03609/1.846, allocations: 17.57 MB / 1.057 GB, free: 3.012 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/1.857, allocations: 5.479 MB / 1.062 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005454/1.862, allocations: 1.668 MB / 1.064 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.863, allocations: 331 kB / 1.064 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/1.863, allocations: 0 / 1.064 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.3052/2.168, allocations: 59.23 MB / 1.122 GB, free: 92.59 MB / 0.4948 GB 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 -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_VCurve3 -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_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:24: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3_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_VCurve3_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_VCurve3_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_VCurve3_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_VCurve3_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_VCurve3_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_VCurve3.o] Error 1