Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008773/0.0008774, allocations: 93.56 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002129/0.0002129, allocations: 8 kB / 358 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2191, allocations: 51.49 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3243/0.5435, allocations: 125.9 MB / 0.5228 GB, free: 89.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5438, allocations: 105.8 kB / 0.5229 GB, free: 89.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7336/1.277, allocations: 286.1 MB / 0.8024 GB, free: 25.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.277, allocations: 0 / 0.8024 GB, free: 25.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003709/1.278, allocations: 163.9 kB / 0.8025 GB, free: 25.05 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: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.02165/1.299, allocations: 7.723 MB / 0.8101 GB, free: 17.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.3, allocations: 12.03 kB / 0.8101 GB, free: 17.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/1.32, allocations: 4.023 MB / 0.814 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/1.335, allocations: 6.705 MB / 0.8206 GB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/1.336, allocations: 0.5357 MB / 0.8211 GB, free: 6.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/1.338, allocations: 0.7181 MB / 0.8218 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/1.361, allocations: 12.7 MB / 0.8342 GB, free: 8.453 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/1.362, allocations: 15.89 kB / 0.8342 GB, free: 8.438 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008961/1.363, allocations: 310.2 kB / 0.8345 GB, free: 8.145 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006087/1.363, allocations: 0.6055 MB / 0.8351 GB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4866/1.85, allocations: 11.9 MB / 0.8467 GB, free: 52.09 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06048/1.91, allocations: 41.87 MB / 0.8876 GB, free: 45.5 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/1.924, allocations: 26.22 MB / 0.9132 GB, free: 23.95 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/1.925, allocations: 244.4 kB / 0.9134 GB, free: 23.75 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/1.925, allocations: 77.5 kB / 0.9135 GB, free: 23.71 MB / 458.8 MB Notification: Performance of pre-optimization done (n=410): time 5.711e-06/1.925, allocations: 2.438 kB / 0.9135 GB, free: 23.71 MB / 458.8 MB Notification: Performance of matching and sorting (n=415): time 0.03178/1.956, allocations: 17.09 MB / 0.9302 GB, free: 17.57 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.956, allocations: 92.7 kB / 0.9303 GB, free: 17.5 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/1.96, allocations: 2.485 MB / 0.9327 GB, free: 16.52 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002959/1.96, allocations: 93.73 kB / 0.9328 GB, free: 16.44 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001491/1.962, allocations: 3.047 MB / 0.9358 GB, free: 14.16 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.963, allocations: 1.398 MB / 0.9371 GB, free: 13.07 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/1.963, allocations: 102.5 kB / 0.9372 GB, free: 13 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002327/1.963, allocations: 0.5093 MB / 0.9377 GB, free: 12.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/1.966, allocations: 2.506 MB / 0.9402 GB, free: 11.62 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/1.97, allocations: 4.091 MB / 0.9442 GB, free: 8.648 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/1.974, allocations: 3.417 MB / 0.9475 GB, free: 7.133 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.303e-05/1.974, allocations: 13.16 kB / 0.9475 GB, free: 7.133 MB / 458.8 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01107/1.985, allocations: 8.007 MB / 0.9553 GB, free: 4.227 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/1.985, allocations: 30.86 kB / 0.9554 GB, free: 4.223 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.11e-05/1.985, allocations: 49.75 kB / 0.9554 GB, free: 4.223 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002933/1.988, allocations: 1.207 MB / 0.9566 GB, free: 3.984 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/1.991, allocations: 1.137 MB / 0.9577 GB, free: 3.945 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/2.004, allocations: 10.68 MB / 0.9681 GB, free: 13.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/2.008, allocations: 275 kB / 0.9684 GB, free: 13.61 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006415/2.009, allocations: 232.5 kB / 0.9686 GB, free: 13.56 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005599/2.014, allocations: 2.947 MB / 0.9715 GB, free: 12.11 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008087/2.015, allocations: 346.7 kB / 0.9718 GB, free: 11.93 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/2.026, allocations: 6.711 MB / 0.9784 GB, free: 9.203 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/2.026, allocations: 47.22 kB / 0.9784 GB, free: 9.203 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/2.026, allocations: 11 kB / 0.9784 GB, free: 9.203 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/2.026, allocations: 25.98 kB / 0.9785 GB, free: 9.199 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02552/2.052, allocations: 15.33 MB / 0.9934 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/2.052, allocations: 8 kB / 0.9934 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/2.055, allocations: 0.7517 MB / 0.9942 GB, free: 15.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/2.058, allocations: 1.097 MB / 0.9953 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/2.058, allocations: 90.66 kB / 0.9953 GB, free: 14.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/2.07, allocations: 9.612 MB / 1.005 GB, free: 5.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/2.071, allocations: 7.656 kB / 1.005 GB, free: 5.496 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/2.085, allocations: 10.5 MB / 1.015 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/2.088, allocations: 0.9241 MB / 1.016 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006707/2.089, allocations: 80 kB / 1.016 GB, free: 11.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/2.091, allocations: 218.8 kB / 1.016 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006149/2.091, allocations: 298 kB / 1.016 GB, free: 10.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000274/2.092, allocations: 123.5 kB / 1.017 GB, free: 10.85 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003174/2.095, allocations: 1.905 MB / 1.018 GB, free: 9.246 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.41e-07/2.095, allocations: 0 / 1.018 GB, free: 9.246 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004682/2.099, allocations: 1.437 MB / 1.02 GB, free: 7.82 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.phi,aimc.rotorCage.port_p.reference.gamma,loadInertia.w) * 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 (398): * Single equations (assignments): 396 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009144/2.1, allocations: 0.5108 MB / 1.02 GB, free: 7.402 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01097/2.111, allocations: 6.726 MB / 1.027 GB, free: 1.496 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/2.111, allocations: 4 kB / 1.027 GB, free: 1.492 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.2397/2.351, allocations: 3.767 MB / 1.031 GB, free: 95.26 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/2.355, allocations: 0.73 MB / 1.031 GB, free: 95.25 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/2.383, allocations: 17.46 MB / 1.048 GB, free: 88.93 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005786/2.388, allocations: 5.214 MB / 1.053 GB, free: 88.05 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.004513/2.393, allocations: 1.674 MB / 1.055 GB, free: 87.94 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/2.394, allocations: 314.4 kB / 1.055 GB, free: 87.94 MB / 0.4949 GB Notification: Performance of SimCode: time 1.352e-06/2.394, allocations: 0 / 1.055 GB, free: 87.94 MB / 0.4949 GB Notification: Performance of Templates: time 0.09336/2.487, allocations: 59.72 MB / 1.114 GB, free: 84.86 MB / 0.4949 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_functions.h:1021:1: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i' _omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i omc__omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.o] Error 1