Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009466/0.0009466, allocations: 197.6 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.205/1.205, allocations: 227.2 MB / 245 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008587/0.0008587, allocations: 97.25 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002128/0.0002128, allocations: 7.984 kB / 357.9 MB, free: 9.277 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2152, allocations: 51.48 MB / 409.4 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.3341, allocations: 101.6 MB / 0.4991 GB, free: 4.895 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.3345, allocations: 91.94 kB / 0.4992 GB, free: 4.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9253/1.26, allocations: 328.4 MB / 0.8198 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.26, allocations: 4 kB / 0.8198 GB, free: 7.758 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004997/1.26, allocations: 187.8 kB / 0.82 GB, free: 7.574 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.02824/1.289, allocations: 9.093 MB / 0.8289 GB, free: 14.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.289, allocations: 8.031 kB / 0.8289 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02249/1.311, allocations: 4.215 MB / 0.833 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/1.326, allocations: 6.034 MB / 0.8389 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007286/1.327, allocations: 0.6303 MB / 0.8395 GB, free: 3.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00331/1.33, allocations: 0.8358 MB / 0.8403 GB, free: 2.594 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2566/1.587, allocations: 14.52 MB / 0.8545 GB, free: 49.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/1.587, allocations: 12.64 kB / 0.8545 GB, free: 49.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008718/1.588, allocations: 364.7 kB / 0.8549 GB, free: 49.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006071/1.589, allocations: 0.6881 MB / 0.8555 GB, free: 49.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/1.608, allocations: 12.48 MB / 0.8677 GB, free: 49.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06978/1.678, allocations: 44.79 MB / 0.9115 GB, free: 38.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.688, allocations: 11.67 MB / 0.9229 GB, free: 30.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/1.689, allocations: 264.8 kB / 0.9231 GB, free: 29.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/1.689, allocations: 79.83 kB / 0.9232 GB, free: 29.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 6.332e-06/1.689, allocations: 0 / 0.9232 GB, free: 29.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.01907/1.708, allocations: 10.29 MB / 0.9332 GB, free: 26.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/1.708, allocations: 123.3 kB / 0.9334 GB, free: 25.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005242/1.713, allocations: 2.806 MB / 0.9361 GB, free: 24.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004334/1.714, allocations: 94.55 kB / 0.9362 GB, free: 24.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.715, allocations: 3.672 MB / 0.9398 GB, free: 22.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.717, allocations: 1.432 MB / 0.9412 GB, free: 21.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005072/1.717, allocations: 118.6 kB / 0.9413 GB, free: 21.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003648/1.718, allocations: 0.5403 MB / 0.9418 GB, free: 20.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003704/1.721, allocations: 2.88 MB / 0.9446 GB, free: 19.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004757/1.726, allocations: 4.928 MB / 0.9494 GB, free: 16.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004958/1.731, allocations: 4 MB / 0.9533 GB, free: 14.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.636e-05/1.731, allocations: 21.06 kB / 0.9534 GB, free: 14.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0125/1.744, allocations: 9.154 MB / 0.9623 GB, free: 11.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/1.744, allocations: 36.73 kB / 0.9623 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.744, allocations: 68.66 kB / 0.9624 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/1.747, allocations: 1.099 MB / 0.9635 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/1.751, allocations: 1.296 MB / 0.9647 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/1.762, allocations: 10.08 MB / 0.9746 GB, free: 4.125 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/1.766, allocations: 0.7365 MB / 0.9753 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009075/1.767, allocations: 282.1 kB / 0.9756 GB, free: 3.191 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * 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 (680): * Single equations (assignments): 670 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006265/1.773, allocations: 3.43 MB / 0.9789 GB, free: 424 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009206/1.774, allocations: 351.7 kB / 0.9793 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.788, allocations: 7.166 MB / 0.9863 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008555/1.797, allocations: 5.823 MB / 0.9919 GB, free: 5.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.364e-05/1.797, allocations: 14.62 kB / 0.992 GB, free: 5.809 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/1.797, allocations: 26.25 kB / 0.992 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02927/1.826, allocations: 15.11 MB / 1.007 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.826, allocations: 8 kB / 1.007 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/1.829, allocations: 0.7598 MB / 1.007 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002914/1.832, allocations: 1.02 MB / 1.008 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004382/1.833, allocations: 99.12 kB / 1.009 GB, free: 8.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2669/2.1, allocations: 9.978 MB / 1.018 GB, free: 74.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/2.1, allocations: 11.31 kB / 1.018 GB, free: 74.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/2.114, allocations: 11.11 MB / 1.029 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/2.116, allocations: 0.9938 MB / 1.03 GB, free: 72.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000432/2.117, allocations: 86.38 kB / 1.03 GB, free: 72.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/2.119, allocations: 266.5 kB / 1.03 GB, free: 72.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006479/2.119, allocations: 309.2 kB / 1.031 GB, free: 72.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003132/2.12, allocations: 130.2 kB / 1.031 GB, free: 72.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002877/2.122, allocations: 2.088 MB / 1.033 GB, free: 72.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/2.122, allocations: 0 / 1.033 GB, free: 72.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006261/2.129, allocations: 2.252 MB / 1.035 GB, free: 72.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * 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 (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007066/2.129, allocations: 314.8 kB / 1.035 GB, free: 72.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01089/2.14, allocations: 7.492 MB / 1.043 GB, free: 71.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/2.14, allocations: 1.781 kB / 1.043 GB, free: 71.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004997/2.145, allocations: 3.645 MB / 1.046 GB, free: 71.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/2.149, allocations: 0.6792 MB / 1.047 GB, free: 71.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/2.177, allocations: 18.9 MB / 1.065 GB, free: 64.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007663/2.185, allocations: 6.077 MB / 1.071 GB, free: 63.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005917/2.191, allocations: 2.197 MB / 1.074 GB, free: 63.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/2.192, allocations: 311 kB / 1.074 GB, free: 63.03 MB / 490.7 MB Notification: Performance of SimCode: time 1.153e-06/2.192, allocations: 7.969 kB / 1.074 GB, free: 63.03 MB / 490.7 MB Notification: Performance of Templates: time 0.08545/2.277, allocations: 56.34 MB / 1.129 GB, free: 53.8 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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_Components_EddyCurrentLosses -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.Components.EddyCurrentLosses.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_functions.h:424:1: error: unknown type name '_omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower' _omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_functions.h:433:1: error: unknown type name '_omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower' _omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.o] Error 1