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.001402/0.001402, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.249/1.249, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008798/0.0008798, allocations: 88.42 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.000284, allocations: 7.938 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2416, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.3592, allocations: 100.8 MB / 0.4905 GB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.3596, allocations: 87.95 kB / 0.4906 GB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9144/1.274, allocations: 311.2 MB / 0.7945 GB, free: 24.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.135e-06/1.274, allocations: 4 kB / 0.7945 GB, free: 24.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003449/1.274, allocations: 195.8 kB / 0.7947 GB, free: 24.58 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.02591/1.3, allocations: 9.05 MB / 0.8036 GB, free: 15.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/1.3, allocations: 8.031 kB / 0.8036 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/1.323, allocations: 4.219 MB / 0.8077 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/1.337, allocations: 6.034 MB / 0.8136 GB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006519/1.337, allocations: 0.6342 MB / 0.8142 GB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/1.34, allocations: 0.828 MB / 0.815 GB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4643/1.805, allocations: 14.53 MB / 0.8292 GB, free: 43.47 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002804/1.805, allocations: 7.438 kB / 0.8292 GB, free: 43.47 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001923/1.807, allocations: 371.5 kB / 0.8296 GB, free: 43.47 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006379/1.808, allocations: 0.6856 MB / 0.8302 GB, free: 43.45 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02328/1.831, allocations: 12.48 MB / 0.8424 GB, free: 43.35 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06501/1.896, allocations: 44.3 MB / 0.8857 GB, free: 32.71 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009717/1.906, allocations: 11.67 MB / 0.8971 GB, free: 24.11 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/1.906, allocations: 174.7 kB / 0.8972 GB, free: 24 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/1.906, allocations: 87.27 kB / 0.8973 GB, free: 23.93 MB / 442.8 MB Notification: Performance of pre-optimization done (n=421): time 6.142e-06/1.906, allocations: 0 / 0.8973 GB, free: 23.93 MB / 442.8 MB Notification: Performance of matching and sorting (n=421): time 0.01719/1.924, allocations: 10.28 MB / 0.9074 GB, free: 20.04 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/1.924, allocations: 129.1 kB / 0.9075 GB, free: 19.95 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/1.927, allocations: 2.802 MB / 0.9102 GB, free: 18.96 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003271/1.928, allocations: 91.39 kB / 0.9103 GB, free: 18.88 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.929, allocations: 3.681 MB / 0.9139 GB, free: 16.28 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009483/1.93, allocations: 1.429 MB / 0.9153 GB, free: 15.18 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/1.93, allocations: 113.2 kB / 0.9154 GB, free: 15.09 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002522/1.931, allocations: 0.5454 MB / 0.9159 GB, free: 14.68 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/1.934, allocations: 2.883 MB / 0.9187 GB, free: 13.67 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/1.938, allocations: 4.923 MB / 0.9236 GB, free: 10.03 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004947/1.943, allocations: 3.998 MB / 0.9275 GB, free: 8.406 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-05/1.943, allocations: 21 kB / 0.9275 GB, free: 8.406 MB / 442.8 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01278/1.956, allocations: 9.153 MB / 0.9364 GB, free: 5.328 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/1.956, allocations: 31.25 kB / 0.9364 GB, free: 5.328 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.928e-05/1.956, allocations: 66.12 kB / 0.9365 GB, free: 5.328 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/1.959, allocations: 1.105 MB / 0.9376 GB, free: 5.125 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/1.963, allocations: 1.294 MB / 0.9389 GB, free: 4.902 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/1.979, allocations: 10.07 MB / 0.9487 GB, free: 11.95 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006437/1.985, allocations: 0.739 MB / 0.9494 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.986, allocations: 282.3 kB / 0.9497 GB, free: 11.01 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.006033/1.993, allocations: 3.42 MB / 0.953 GB, free: 8.234 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007748/1.993, allocations: 355.6 kB / 0.9534 GB, free: 7.883 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/2.005, allocations: 7.023 MB / 0.9602 GB, free: 2.141 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008439/2.013, allocations: 5.849 MB / 0.9659 GB, free: 13.3 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.459e-05/2.013, allocations: 12 kB / 0.9659 GB, free: 13.29 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.181e-05/2.013, allocations: 22.22 kB / 0.966 GB, free: 13.29 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/2.037, allocations: 15.1 MB / 0.9807 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/2.037, allocations: 8 kB / 0.9807 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/2.04, allocations: 0.7592 MB / 0.9815 GB, free: 280 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003336/2.043, allocations: 1.075 MB / 0.9825 GB, free: 15.65 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/2.044, allocations: 103.2 kB / 0.9826 GB, free: 15.56 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/2.058, allocations: 9.952 MB / 0.9923 GB, free: 6.668 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/2.058, allocations: 11.94 kB / 0.9923 GB, free: 6.656 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2715/2.329, allocations: 11.13 MB / 1.003 GB, free: 82.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003339/2.333, allocations: 0.9873 MB / 1.004 GB, free: 82.67 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/2.334, allocations: 90.61 kB / 1.004 GB, free: 82.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/2.337, allocations: 269.2 kB / 1.005 GB, free: 82.67 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006956/2.337, allocations: 308.5 kB / 1.005 GB, free: 82.67 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000289/2.338, allocations: 133.6 kB / 1.005 GB, free: 82.67 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003264/2.341, allocations: 2.084 MB / 1.007 GB, free: 82.53 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.1e-07/2.341, allocations: 0 / 1.007 GB, free: 82.53 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.008214/2.349, allocations: 2.249 MB / 1.009 GB, free: 82.42 MB / 490.8 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.001366/2.351, allocations: 323.9 kB / 1.009 GB, free: 82.34 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01316/2.364, allocations: 7.5 MB / 1.017 GB, free: 81.89 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/2.364, allocations: 0 / 1.017 GB, free: 81.89 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007031/2.371, allocations: 3.649 MB / 1.02 GB, free: 81.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/2.375, allocations: 0.6868 MB / 1.021 GB, free: 81.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/2.405, allocations: 18.9 MB / 1.039 GB, free: 74.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008055/2.413, allocations: 6.079 MB / 1.045 GB, free: 73.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.006422/2.42, allocations: 2.198 MB / 1.048 GB, free: 73.24 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/2.421, allocations: 311.3 kB / 1.048 GB, free: 73.23 MB / 490.8 MB Notification: Performance of SimCode: time 1.333e-06/2.421, allocations: 0 / 1.048 GB, free: 73.23 MB / 490.8 MB Notification: Performance of Templates: time 0.09429/2.515, allocations: 56.46 MB / 1.103 GB, free: 66.46 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 -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_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:24: ./Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.o] Error 1