Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 176.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 241.4 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007788/0.0007789, allocations: 94.2 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002746, allocations: 15.94 kB / 352.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1887, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.291, allocations: 100.9 MB / 0.4919 GB, free: 11.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.2913, allocations: 87.95 kB / 0.492 GB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8849/1.176, allocations: 307.9 MB / 0.7926 GB, free: 27.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.176, allocations: 0 / 0.7926 GB, free: 27.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005495/1.177, allocations: 191.8 kB / 0.7928 GB, free: 27.52 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.0292/1.206, allocations: 8.961 MB / 0.8015 GB, free: 18.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.206, allocations: 16.02 kB / 0.8015 GB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02213/1.228, allocations: 4.212 MB / 0.8057 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/1.243, allocations: 6.108 MB / 0.8116 GB, free: 8.059 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008291/1.244, allocations: 0.6357 MB / 0.8122 GB, free: 7.422 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003663/1.248, allocations: 0.8241 MB / 0.8131 GB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4452/1.693, allocations: 14.6 MB / 0.8273 GB, free: 42.59 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002134/1.693, allocations: 12.81 kB / 0.8273 GB, free: 42.59 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/1.694, allocations: 371 kB / 0.8277 GB, free: 42.59 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005662/1.695, allocations: 0.6816 MB / 0.8283 GB, free: 42.56 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/1.716, allocations: 12.48 MB / 0.8405 GB, free: 42.47 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06344/1.779, allocations: 44.33 MB / 0.8838 GB, free: 32.96 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/1.789, allocations: 11.67 MB / 0.8952 GB, free: 24.35 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004404/1.793, allocations: 3.161 MB / 0.8983 GB, free: 23.19 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/1.794, allocations: 178.6 kB / 0.8985 GB, free: 23.09 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.437e-05/1.794, allocations: 82.34 kB / 0.8986 GB, free: 23.02 MB / 442.8 MB Notification: Performance of pre-optimization done (n=421): time 6.653e-06/1.794, allocations: 0 / 0.8986 GB, free: 23.02 MB / 442.8 MB Notification: Performance of matching and sorting (n=421): time 0.02058/1.815, allocations: 9.761 MB / 0.9081 GB, free: 19.84 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/1.815, allocations: 118.8 kB / 0.9082 GB, free: 19.74 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/1.82, allocations: 3.108 MB / 0.9112 GB, free: 18.65 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008005/1.821, allocations: 95.73 kB / 0.9113 GB, free: 18.57 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/1.823, allocations: 3.679 MB / 0.9149 GB, free: 15.96 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.824, allocations: 1.434 MB / 0.9163 GB, free: 14.86 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007341/1.825, allocations: 116.8 kB / 0.9164 GB, free: 14.77 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0004436/1.826, allocations: 0.5431 MB / 0.917 GB, free: 14.36 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004304/1.83, allocations: 2.86 MB / 0.9198 GB, free: 13.36 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00506/1.835, allocations: 4.921 MB / 0.9246 GB, free: 9.715 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00887/1.844, allocations: 8.318 MB / 0.9327 GB, free: 4.602 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.828e-05/1.844, allocations: 17.19 kB / 0.9327 GB, free: 4.602 MB / 442.8 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01323/1.857, allocations: 9.129 MB / 0.9416 GB, free: 1.523 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/1.857, allocations: 33.34 kB / 0.9416 GB, free: 1.523 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.818e-05/1.857, allocations: 67.16 kB / 0.9417 GB, free: 1.523 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/1.86, allocations: 1.11 MB / 0.9428 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/1.864, allocations: 1.288 MB / 0.9441 GB, free: 480 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.877, allocations: 9.872 MB / 0.9537 GB, free: 7.656 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/1.881, allocations: 0.7346 MB / 0.9544 GB, free: 6.988 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007854/1.882, allocations: 277.5 kB / 0.9547 GB, free: 6.727 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.005528/1.887, allocations: 3.428 MB / 0.958 GB, free: 3.859 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007484/1.888, allocations: 355.5 kB / 0.9584 GB, free: 3.508 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.903, allocations: 7.252 MB / 0.9654 GB, free: 14.46 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008641/1.912, allocations: 5.799 MB / 0.9711 GB, free: 9.539 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/1.912, allocations: 12 kB / 0.9711 GB, free: 9.527 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-05/1.912, allocations: 20.11 kB / 0.9711 GB, free: 9.527 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02955/1.941, allocations: 15.58 MB / 0.9864 GB, free: 12.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/1.941, allocations: 12 kB / 0.9864 GB, free: 12.87 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003034/1.944, allocations: 0.7879 MB / 0.9871 GB, free: 12.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/1.947, allocations: 1.032 MB / 0.9881 GB, free: 11.46 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004718/1.948, allocations: 107.9 kB / 0.9882 GB, free: 11.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/1.961, allocations: 9.675 MB / 0.9977 GB, free: 2.723 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/1.961, allocations: 27.88 kB / 0.9977 GB, free: 2.695 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2217/2.182, allocations: 10.99 MB / 1.008 GB, free: 83.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00201/2.184, allocations: 1.009 MB / 1.009 GB, free: 83.63 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/2.185, allocations: 102.3 kB / 1.01 GB, free: 83.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/2.187, allocations: 275.9 kB / 1.01 GB, free: 83.63 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005695/2.187, allocations: 346.7 kB / 1.01 GB, free: 83.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/2.188, allocations: 145.5 kB / 1.01 GB, free: 83.62 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002586/2.19, allocations: 2.084 MB / 1.012 GB, free: 83.47 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.72e-07/2.19, allocations: 3.781 kB / 1.012 GB, free: 83.47 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00515/2.195, allocations: 2.242 MB / 1.014 GB, free: 83.21 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.0006212/2.196, allocations: 333.6 kB / 1.015 GB, free: 83.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01037/2.207, allocations: 7.514 MB / 1.022 GB, free: 82.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/2.207, allocations: 3.219 kB / 1.022 GB, free: 82.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004921/2.211, allocations: 3.708 MB / 1.026 GB, free: 82.36 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008505/2.22, allocations: 0.772 MB / 1.027 GB, free: 82.35 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/2.248, allocations: 19.19 MB / 1.045 GB, free: 74.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00836/2.256, allocations: 5.943 MB / 1.051 GB, free: 73.97 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.006529/2.263, allocations: 2.236 MB / 1.053 GB, free: 73.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/2.264, allocations: 312.4 kB / 1.054 GB, free: 73.79 MB / 490.8 MB Notification: Performance of SimCode: time 7.81e-07/2.264, allocations: 0 / 1.054 GB, free: 73.79 MB / 490.8 MB Notification: Performance of Templates: time 0.08709/2.351, allocations: 57.08 MB / 1.109 GB, free: 63.73 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_model.h:26: ./Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.o] Error 1