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 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_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 4.0.0+maint.om/package.mo): time 0.004261/0.004261, allocations: 169.5 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.03632/0.03632, allocations: 8.796 MB / 24.65 MB, free: 4.121 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.224/1.224, allocations: 223.2 MB / 250.7 MB, free: 4.719 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.0008115/0.0008114, allocations: 95.44 kB / 304 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 12 kB / 367.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08489, allocations: 52.54 MB / 419.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.3925, allocations: 140 MB / 0.5465 GB, free: 380 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.3927, allocations: 79.97 kB / 0.5466 GB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8276/1.22, allocations: 271.8 MB / 0.812 GB, free: 51.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/1.22, allocations: 0 / 0.812 GB, free: 51.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003566/1.221, allocations: 175.3 kB / 0.8122 GB, free: 51.45 MB / 458.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.02252/1.243, allocations: 7.877 MB / 0.8198 GB, free: 48.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/1.243, allocations: 13.09 kB / 0.8199 GB, free: 48.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02154/1.265, allocations: 3.916 MB / 0.8237 GB, free: 48.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/1.28, allocations: 6.791 MB / 0.8303 GB, free: 47.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000479/1.281, allocations: 0.5654 MB / 0.8309 GB, free: 47.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/1.283, allocations: 0.7448 MB / 0.8316 GB, free: 47.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/1.302, allocations: 12.63 MB / 0.8439 GB, free: 42.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/1.302, allocations: 18.59 kB / 0.8439 GB, free: 42.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008075/1.303, allocations: 326.2 kB / 0.8443 GB, free: 42.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004354/1.304, allocations: 0.595 MB / 0.8448 GB, free: 42.08 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/1.322, allocations: 11.55 MB / 0.8561 GB, free: 37.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06046/1.382, allocations: 43.6 MB / 0.8987 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2516/1.634, allocations: 25.16 MB / 0.9233 GB, free: 43.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/1.634, allocations: 244.9 kB / 0.9235 GB, free: 43.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003935/1.638, allocations: 2.553 MB / 0.926 GB, free: 42.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=391): time 7.354e-06/1.638, allocations: 0.6875 kB / 0.926 GB, free: 42.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=397): time 0.03124/1.669, allocations: 17.84 MB / 0.9434 GB, free: 39.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.67, allocations: 357.8 kB / 0.9438 GB, free: 38.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004455/1.674, allocations: 3.123 MB / 0.9468 GB, free: 38.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004541/1.675, allocations: 89.92 kB / 0.9469 GB, free: 38.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/1.676, allocations: 3.371 MB / 0.9502 GB, free: 37.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.677, allocations: 1.346 MB / 0.9515 GB, free: 36.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/1.678, allocations: 113.5 kB / 0.9516 GB, free: 36.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/1.678, allocations: 0.53 MB / 0.9521 GB, free: 35.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00382/1.682, allocations: 2.522 MB / 0.9546 GB, free: 35.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004818/1.686, allocations: 4.458 MB / 0.9589 GB, free: 33.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005017/1.691, allocations: 3.527 MB / 0.9624 GB, free: 33.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.781e-05/1.692, allocations: 17.81 kB / 0.9624 GB, free: 33.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.0128/1.704, allocations: 8.227 MB / 0.9704 GB, free: 33.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/1.704, allocations: 57.2 kB / 0.9705 GB, free: 33.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.705, allocations: 59.94 kB / 0.9706 GB, free: 33.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/1.708, allocations: 1.014 MB / 0.9715 GB, free: 33.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004758/1.712, allocations: 1.262 MB / 0.9728 GB, free: 33.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/1.724, allocations: 8.522 MB / 0.9811 GB, free: 31.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.73, allocations: 388.1 kB / 0.9815 GB, free: 31.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000545/1.73, allocations: 263.2 kB / 0.9817 GB, free: 31.57 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.005776/1.736, allocations: 2.904 MB / 0.9846 GB, free: 31.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000919/1.737, allocations: 389 kB / 0.9849 GB, free: 31.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009577/1.746, allocations: 6.161 MB / 0.9909 GB, free: 29.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/1.746, allocations: 44.64 kB / 0.991 GB, free: 29.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.746, allocations: 11.42 kB / 0.991 GB, free: 29.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-05/1.747, allocations: 19.55 kB / 0.991 GB, free: 29.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/1.769, allocations: 15.01 MB / 1.006 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.769, allocations: 7.641 kB / 1.006 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/1.771, allocations: 0.6806 MB / 1.006 GB, free: 23.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/1.774, allocations: 0.877 MB / 1.007 GB, free: 22.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.774, allocations: 83.61 kB / 1.007 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009029/1.783, allocations: 7.421 MB / 1.015 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/1.783, allocations: 11.78 kB / 1.015 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.795, allocations: 9.247 MB / 1.024 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/1.798, allocations: 0.9412 MB / 1.024 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005373/1.798, allocations: 79.89 kB / 1.025 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.8, allocations: 204.3 kB / 1.025 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005276/1.801, allocations: 274.5 kB / 1.025 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.801, allocations: 115 kB / 1.025 GB, free: 13.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003183/1.804, allocations: 2.319 MB / 1.027 GB, free: 12.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/1.804, allocations: 0 / 1.027 GB, free: 12.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004623/1.809, allocations: 1.518 MB / 1.029 GB, free: 12.43 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.0006908/1.809, allocations: 486.2 kB / 1.029 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00855/1.818, allocations: 6.443 MB / 1.036 GB, free: 9.891 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/1.818, allocations: 3.906 kB / 1.036 GB, free: 9.891 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004013/1.822, allocations: 3.088 MB / 1.039 GB, free: 8.609 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.825, allocations: 0.7289 MB / 1.039 GB, free: 8.371 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03707/1.862, allocations: 17.97 MB / 1.057 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00538/1.868, allocations: 5.129 MB / 1.062 GB, free: 7.859 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004966/1.873, allocations: 1.672 MB / 1.064 GB, free: 6.766 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009765/1.874, allocations: 334 kB / 1.064 GB, free: 6.457 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/1.874, allocations: 0 / 1.064 GB, free: 6.457 MB / 490.7 MB Notification: Performance of Templates: time 0.3143/2.188, allocations: 59.31 MB / 1.122 GB, free: 78.18 MB / 0.4948 GB 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 -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_VCurve1 -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_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:24: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1_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_VCurve1_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_VCurve1_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_VCurve1_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_VCurve1_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_VCurve1_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_VCurve1.o] Error 1