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 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_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 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 172.6 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04281/0.04281, allocations: 8.778 MB / 25.64 MB, free: 3.789 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.406/1.406, allocations: 205.4 MB / 233.9 MB, free: 12.5 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.0007539/0.000754, allocations: 103.9 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.000411, allocations: 16 kB / 344.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2448, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.6719, allocations: 139.7 MB / 0.5217 GB, free: 94.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.6722, allocations: 83.47 kB / 0.5218 GB, free: 94.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7364/1.409, allocations: 223 MB / 0.7395 GB, free: 55.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.409, allocations: 0 / 0.7395 GB, free: 55.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004215/1.409, allocations: 144.5 kB / 0.7397 GB, free: 55.16 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.02381/1.433, allocations: 6.591 MB / 0.7461 GB, free: 52.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.433, allocations: 12.5 kB / 0.7461 GB, free: 52.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/1.454, allocations: 3.69 MB / 0.7497 GB, free: 51.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/1.468, allocations: 4.96 MB / 0.7545 GB, free: 48.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000647/1.469, allocations: 495.1 kB / 0.755 GB, free: 48.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003106/1.472, allocations: 0.6327 MB / 0.7556 GB, free: 48.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/1.502, allocations: 11.17 MB / 0.7665 GB, free: 39.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003954/1.502, allocations: 19.72 kB / 0.7666 GB, free: 39.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002648/1.505, allocations: 280.8 kB / 0.7668 GB, free: 38.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005991/1.505, allocations: 0.4915 MB / 0.7673 GB, free: 38.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02315/1.528, allocations: 10.57 MB / 0.7776 GB, free: 28.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07426/1.603, allocations: 37.92 MB / 0.8147 GB, free: 5.918 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2988/1.902, allocations: 12.11 MB / 0.8265 GB, free: 60.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006967/1.909, allocations: 4.132 MB / 0.8305 GB, free: 60.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005644/1.909, allocations: 273.8 kB / 0.8308 GB, free: 60.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/1.909, allocations: 76.58 kB / 0.8309 GB, free: 60.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=476): time 7.284e-06/1.909, allocations: 2.969 kB / 0.8309 GB, free: 60.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=482): time 0.03895/1.948, allocations: 19.96 MB / 0.8504 GB, free: 59.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/1.948, allocations: 95.72 kB / 0.8505 GB, free: 59.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/1.952, allocations: 2.686 MB / 0.8531 GB, free: 58.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006665/1.953, allocations: 91.67 kB / 0.8532 GB, free: 58.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001779/1.955, allocations: 2.61 MB / 0.8557 GB, free: 57.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002041/1.957, allocations: 1.606 MB / 0.8573 GB, free: 56.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/1.957, allocations: 109.6 kB / 0.8574 GB, free: 56.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002999/1.957, allocations: 0.5236 MB / 0.8579 GB, free: 56.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/1.962, allocations: 3.166 MB / 0.861 GB, free: 56.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004993/1.967, allocations: 4.519 MB / 0.8654 GB, free: 54.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00994/1.977, allocations: 7.996 MB / 0.8732 GB, free: 52.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.066e-05/1.977, allocations: 15 kB / 0.8732 GB, free: 52.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01344/1.99, allocations: 9.278 MB / 0.8823 GB, free: 49.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/1.99, allocations: 19.34 kB / 0.8823 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.221e-05/1.99, allocations: 41.38 kB / 0.8823 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/1.993, allocations: 1.825 MB / 0.8841 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/1.998, allocations: 1.108 MB / 0.8852 GB, free: 48.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004909/2.002, allocations: 5.146 MB / 0.8902 GB, free: 45.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/2.006, allocations: 351.5 kB / 0.8906 GB, free: 45.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/2.007, allocations: 237.7 kB / 0.8908 GB, free: 45.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (581): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 45} Notification: Performance of prepare postOptimizeDAE: time 0.004667/2.012, allocations: 2.375 MB / 0.8931 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008191/2.012, allocations: 355.4 kB / 0.8935 GB, free: 44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/2.024, allocations: 8.316 MB / 0.9016 GB, free: 40.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.44e-05/2.024, allocations: 109 kB / 0.9017 GB, free: 40.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/2.024, allocations: 6.016 kB / 0.9017 GB, free: 40.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/2.024, allocations: 21.38 kB / 0.9017 GB, free: 40.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/2.049, allocations: 17.66 MB / 0.9189 GB, free: 32.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/2.049, allocations: 4.188 kB / 0.919 GB, free: 32.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/2.051, allocations: 0.6859 MB / 0.9196 GB, free: 31.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002858/2.054, allocations: 1.74 MB / 0.9213 GB, free: 30.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003695/2.055, allocations: 106.7 kB / 0.9214 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/2.059, allocations: 5 MB / 0.9263 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/2.059, allocations: 5.594 kB / 0.9263 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/2.073, allocations: 12.2 MB / 0.9382 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/2.076, allocations: 1.105 MB / 0.9393 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000657/2.077, allocations: 83.94 kB / 0.9394 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/2.079, allocations: 229 kB / 0.9396 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005667/2.079, allocations: 353.9 kB / 0.9399 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003007/2.08, allocations: 136.2 kB / 0.9401 GB, free: 13.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002454/2.082, allocations: 1.793 MB / 0.9418 GB, free: 11.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.082, allocations: 0 / 0.9418 GB, free: 11.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004635/2.087, allocations: 1.313 MB / 0.9431 GB, free: 10.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (376): * Single equations (assignments): 344 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.000992/2.088, allocations: 447.2 kB / 0.9435 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01193/2.1, allocations: 7.544 MB / 0.9509 GB, free: 3.707 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/2.1, allocations: 2 kB / 0.9509 GB, free: 3.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006286/2.106, allocations: 3.639 MB / 0.9545 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007294/2.113, allocations: 0.6456 MB / 0.9551 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03457/2.148, allocations: 15.84 MB / 0.9706 GB, free: 1.566 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008461/2.156, allocations: 4.319 MB / 0.9748 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006005/2.162, allocations: 1.303 MB / 0.976 GB, free: 13.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/2.164, allocations: 300.6 kB / 0.9763 GB, free: 12.98 MB / 474.7 MB Notification: Performance of SimCode: time 7.11e-07/2.164, allocations: 0 / 0.9763 GB, free: 12.98 MB / 474.7 MB Notification: Performance of Templates: time 0.3768/2.541, allocations: 70.9 MB / 1.046 GB, free: 86.61 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 -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_Slip1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -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:26: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1_functions.h:860: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:869: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:878: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:887: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_Slip1.o] Error 1