Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001738/0.001738, allocations: 172.8 kB / 16.11 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.05811/0.05811, allocations: 8.768 MB / 25.63 MB, free: 3.824 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.565/1.565, allocations: 205.4 MB / 233.9 MB, free: 12.48 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.0007796/0.0007796, allocations: 90.3 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007349/0.000735, allocations: 12 kB / 344.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2368, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.5831, allocations: 140.1 MB / 0.5221 GB, free: 94.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5833, allocations: 83.95 kB / 0.5222 GB, free: 94.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7337/1.317, allocations: 273.4 MB / 0.7891 GB, free: 17.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.627e-06/1.317, allocations: 0 / 0.7891 GB, free: 17.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007185/1.318, allocations: 178.8 kB / 0.7893 GB, free: 17.33 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.02795/1.346, allocations: 7.936 MB / 0.7971 GB, free: 9.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.346, allocations: 8.75 kB / 0.7971 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02553/1.371, allocations: 4.574 MB / 0.8015 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/1.387, allocations: 6.111 MB / 0.8075 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/1.388, allocations: 0.5947 MB / 0.8081 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004339/1.393, allocations: 0.7685 MB / 0.8088 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4828/1.876, allocations: 13.64 MB / 0.8222 GB, free: 42.49 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/1.876, allocations: 14.66 kB / 0.8222 GB, free: 42.49 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/1.878, allocations: 332.8 kB / 0.8225 GB, free: 42.49 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006314/1.878, allocations: 0.5913 MB / 0.8231 GB, free: 42.47 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02543/1.904, allocations: 12.95 MB / 0.8357 GB, free: 42.39 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0787/1.982, allocations: 45.91 MB / 0.8805 GB, free: 32.19 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/2, allocations: 16.61 MB / 0.8968 GB, free: 20.73 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009129/2.009, allocations: 5.276 MB / 0.9019 GB, free: 18.47 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008473/2.01, allocations: 305.1 kB / 0.9022 GB, free: 18.25 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01015/2.02, allocations: 4.576 MB / 0.9067 GB, free: 16.3 MB / 442.8 MB Notification: Performance of pre-optimization done (n=612): time 1.403e-05/2.02, allocations: 5.625 kB / 0.9067 GB, free: 16.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=618): time 0.08034/2.1, allocations: 28.26 MB / 0.9343 GB, free: 4.391 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/2.101, allocations: 319.1 kB / 0.9346 GB, free: 4.07 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008508/2.109, allocations: 3.042 MB / 0.9376 GB, free: 2.898 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001657/2.111, allocations: 111 kB / 0.9377 GB, free: 2.801 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002634/2.113, allocations: 3.026 MB / 0.9406 GB, free: 0.5156 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003995/2.117, allocations: 2.046 MB / 0.9426 GB, free: 14.93 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/2.119, allocations: 120.4 kB / 0.9427 GB, free: 14.83 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001011/2.12, allocations: 0.5724 MB / 0.9433 GB, free: 14.41 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01103/2.131, allocations: 3.926 MB / 0.9471 GB, free: 12.79 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/2.143, allocations: 5.384 MB / 0.9524 GB, free: 9.512 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02555/2.169, allocations: 9.719 MB / 0.9619 GB, free: 436 kB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.747e-05/2.169, allocations: 8 kB / 0.9619 GB, free: 428 kB / 458.8 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.03787/2.207, allocations: 11.57 MB / 0.9732 GB, free: 6.516 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/2.207, allocations: 50.8 kB / 0.9732 GB, free: 6.461 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/2.207, allocations: 36 kB / 0.9733 GB, free: 6.426 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00637/2.214, allocations: 2.572 MB / 0.9758 GB, free: 4.332 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00592/2.22, allocations: 1.286 MB / 0.977 GB, free: 3.34 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008821/2.228, allocations: 7.011 MB / 0.9839 GB, free: 12.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/2.234, allocations: 431 kB / 0.9843 GB, free: 12.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/2.235, allocations: 274 kB / 0.9846 GB, free: 12.34 MB / 490.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.006599/2.242, allocations: 2.951 MB / 0.9874 GB, free: 9.824 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/2.243, allocations: 418.8 kB / 0.9878 GB, free: 9.41 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/2.263, allocations: 10.76 MB / 0.9983 GB, free: 184 kB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000149/2.263, allocations: 130.3 kB / 0.9985 GB, free: 64 kB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/2.263, allocations: 0 / 0.9985 GB, free: 64 kB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.52e-05/2.263, allocations: 34.61 kB / 0.9985 GB, free: 56 kB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3219/2.585, allocations: 22.7 MB / 1.021 GB, free: 89.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/2.585, allocations: 5.625 kB / 1.021 GB, free: 89.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004027/2.589, allocations: 0.8639 MB / 1.022 GB, free: 89.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005176/2.594, allocations: 2.465 MB / 1.024 GB, free: 89.82 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/2.595, allocations: 126.6 kB / 1.024 GB, free: 89.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006903/2.602, allocations: 6.857 MB / 1.031 GB, free: 87.71 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/2.602, allocations: 11.47 kB / 1.031 GB, free: 87.71 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02403/2.626, allocations: 15.73 MB / 1.046 GB, free: 86.98 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/2.63, allocations: 1.373 MB / 1.047 GB, free: 86.88 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/2.631, allocations: 98.75 kB / 1.048 GB, free: 86.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/2.634, allocations: 289.9 kB / 1.048 GB, free: 86.88 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008167/2.635, allocations: 437 kB / 1.048 GB, free: 86.87 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003758/2.635, allocations: 171.4 kB / 1.048 GB, free: 86.87 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00332/2.639, allocations: 2.045 MB / 1.05 GB, free: 86.73 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.3e-07/2.639, allocations: 0 / 1.05 GB, free: 86.73 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006275/2.645, allocations: 1.575 MB / 1.052 GB, free: 86.73 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.001186/2.646, allocations: 0.4988 MB / 1.052 GB, free: 86.63 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01505/2.661, allocations: 9.474 MB / 1.062 GB, free: 83.35 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.661, allocations: 3.594 kB / 1.062 GB, free: 83.35 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008489/2.67, allocations: 4.736 MB / 1.066 GB, free: 81.51 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008439/2.678, allocations: 0.7977 MB / 1.067 GB, free: 81.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03932/2.718, allocations: 19.53 MB / 1.086 GB, free: 70.91 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00963/2.727, allocations: 5.179 MB / 1.091 GB, free: 68.91 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.007316/2.735, allocations: 1.547 MB / 1.093 GB, free: 68.75 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/2.737, allocations: 346.6 kB / 1.093 GB, free: 68.72 MB / 490.8 MB Notification: Performance of SimCode: time 2.003e-06/2.737, allocations: 0 / 1.093 GB, free: 68.72 MB / 490.8 MB Notification: Performance of Templates: time 0.3924/3.129, allocations: 89.31 MB / 1.18 GB, free: 88.16 MB / 490.8 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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_VCurve4 -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_VCurve4.o HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.c In file included from HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.c:7: In file included from ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4_model.h:26: ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4_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_VCurve4_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_VCurve4_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_VCurve4_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_VCurve4.o] Error 1