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.000979/0.0009789, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008111/0.0008113, allocations: 97.73 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000207/0.000207, allocations: 4 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1885, allocations: 51.28 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.2945, allocations: 101.7 MB / 0.4991 GB, free: 5.824 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.2948, allocations: 88.47 kB / 0.4992 GB, free: 5.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8806/1.175, allocations: 324.8 MB / 0.8163 GB, free: 13.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.003e-06/1.176, allocations: 0 / 0.8163 GB, free: 13.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002824/1.176, allocations: 195.8 kB / 0.8165 GB, free: 13.39 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.02499/1.201, allocations: 8.996 MB / 0.8253 GB, free: 4.312 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.201, allocations: 11.97 kB / 0.8253 GB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02209/1.223, allocations: 4.22 MB / 0.8294 GB, free: 68 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/1.237, allocations: 6.104 MB / 0.8354 GB, free: 9.898 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007782/1.238, allocations: 0.6318 MB / 0.836 GB, free: 9.266 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003154/1.241, allocations: 0.8319 MB / 0.8368 GB, free: 8.434 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4179/1.659, allocations: 14.6 MB / 0.8511 GB, free: 47.38 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004492/1.66, allocations: 8.312 kB / 0.8511 GB, free: 47.38 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003954/1.664, allocations: 374.5 kB / 0.8515 GB, free: 47.38 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008705/1.665, allocations: 0.682 MB / 0.8521 GB, free: 47.35 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/1.693, allocations: 12.48 MB / 0.8643 GB, free: 47.26 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07479/1.767, allocations: 44.82 MB / 0.9081 GB, free: 39.1 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/1.779, allocations: 11.67 MB / 0.9195 GB, free: 30.49 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004865/1.784, allocations: 3.166 MB / 0.9226 GB, free: 29.34 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/1.784, allocations: 252.6 kB / 0.9228 GB, free: 29.14 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/1.784, allocations: 80.34 kB / 0.9229 GB, free: 29.07 MB / 458.8 MB Notification: Performance of pre-optimization done (n=421): time 6.953e-06/1.784, allocations: 0 / 0.9229 GB, free: 29.07 MB / 458.8 MB Notification: Performance of matching and sorting (n=421): time 0.01997/1.804, allocations: 9.754 MB / 0.9324 GB, free: 25.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/1.804, allocations: 122.9 kB / 0.9325 GB, free: 25.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005743/1.81, allocations: 3.111 MB / 0.9356 GB, free: 24.71 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007933/1.811, allocations: 94.92 kB / 0.9357 GB, free: 24.62 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.813, allocations: 3.684 MB / 0.9392 GB, free: 22.04 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001748/1.814, allocations: 1.429 MB / 0.9406 GB, free: 20.93 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000959/1.815, allocations: 113.9 kB / 0.9408 GB, free: 20.84 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006122/1.816, allocations: 0.5455 MB / 0.9413 GB, free: 20.43 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00457/1.821, allocations: 2.86 MB / 0.9441 GB, free: 19.43 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005795/1.826, allocations: 4.925 MB / 0.9489 GB, free: 15.78 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.837, allocations: 8.314 MB / 0.957 GB, free: 10.67 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.673e-05/1.837, allocations: 20.23 kB / 0.957 GB, free: 10.67 MB / 458.8 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01784/1.855, allocations: 9.131 MB / 0.9659 GB, free: 7.59 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.855, allocations: 34.25 kB / 0.966 GB, free: 7.59 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/1.855, allocations: 64 kB / 0.966 GB, free: 7.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/1.859, allocations: 1.123 MB / 0.9671 GB, free: 7.375 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/1.864, allocations: 1.287 MB / 0.9684 GB, free: 7.332 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.877, allocations: 9.866 MB / 0.978 GB, free: 1.652 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/1.882, allocations: 0.7375 MB / 0.9787 GB, free: 1.23 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.884, allocations: 280.7 kB / 0.979 GB, free: 0.9688 MB / 458.8 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.01614/1.9, allocations: 3.973 MB / 0.9829 GB, free: 15.6 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001807/1.902, allocations: 347.6 kB / 0.9832 GB, free: 15.26 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.917, allocations: 6.98 MB / 0.99 GB, free: 9.508 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0104/1.927, allocations: 5.807 MB / 0.9957 GB, free: 4.578 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.646e-05/1.927, allocations: 11.84 kB / 0.9957 GB, free: 4.57 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.893e-05/1.927, allocations: 24.58 kB / 0.9957 GB, free: 4.566 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03625/1.964, allocations: 15.51 MB / 1.011 GB, free: 7.766 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.906e-05/1.964, allocations: 16.03 kB / 1.011 GB, free: 7.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003643/1.967, allocations: 0.787 MB / 1.012 GB, free: 7.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/1.971, allocations: 1.026 MB / 1.013 GB, free: 6.348 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/1.972, allocations: 111.1 kB / 1.013 GB, free: 6.246 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2811/2.253, allocations: 9.687 MB / 1.022 GB, free: 74.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/2.253, allocations: 26.22 kB / 1.022 GB, free: 74.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/2.267, allocations: 10.86 MB / 1.033 GB, free: 73.62 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/2.269, allocations: 1.016 MB / 1.034 GB, free: 73.44 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005353/2.27, allocations: 97.31 kB / 1.034 GB, free: 73.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/2.272, allocations: 277.2 kB / 1.034 GB, free: 73.44 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005932/2.272, allocations: 346.3 kB / 1.035 GB, free: 73.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/2.273, allocations: 145.2 kB / 1.035 GB, free: 73.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002696/2.275, allocations: 2.086 MB / 1.037 GB, free: 73.28 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.31e-07/2.275, allocations: 0 / 1.037 GB, free: 73.28 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005495/2.281, allocations: 2.249 MB / 1.039 GB, free: 73.02 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (421): * Single equations (assignments): 411 * 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.0006764/2.281, allocations: 318.5 kB / 1.039 GB, free: 72.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01008/2.292, allocations: 7.507 MB / 1.047 GB, free: 72.48 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/2.292, allocations: 3.719 kB / 1.047 GB, free: 72.48 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005038/2.297, allocations: 3.714 MB / 1.05 GB, free: 72.16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008066/2.305, allocations: 0.7676 MB / 1.051 GB, free: 72.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/2.328, allocations: 19.2 MB / 1.07 GB, free: 64.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00543/2.333, allocations: 5.946 MB / 1.075 GB, free: 63.71 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005843/2.339, allocations: 2.238 MB / 1.078 GB, free: 63.55 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008662/2.34, allocations: 314.3 kB / 1.078 GB, free: 63.54 MB / 490.8 MB Notification: Performance of SimCode: time 8.52e-07/2.34, allocations: 0 / 1.078 GB, free: 63.54 MB / 490.8 MB Notification: Performance of Templates: time 0.0897/2.43, allocations: 56.96 MB / 1.134 GB, free: 52.68 MB / 490.8 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 -Wno-parentheses-equality -Os -march=native -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=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:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_functions.h:398: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:407: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