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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009555, allocations: 92.69 kB / 16.95 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009401/0.0009401, allocations: 178.4 kB / 17.84 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 7.984 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01553/0.1444, allocations: 14.28 MB / 366.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.1552, allocations: 4.246 MB / 370.4 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.1586, allocations: 123.6 kB / 370.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.1623, allocations: 0.8429 MB / 371.4 MB, free: 452 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2766/0.439, allocations: 1.659 MB / 373 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.4434, allocations: 1.21 MB / 374.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02355/0.4669, allocations: 12.11 MB / 386.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03347/0.5004, allocations: 17.39 MB / 403.7 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009378/0.5099, allocations: 3.965 MB / 407.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009322/0.5193, allocations: 4.346 MB / 412.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002496/0.5218, allocations: 0.5625 MB / 412.6 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00599/0.5278, allocations: 0.8337 MB / 413.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004343/0.5322, allocations: 1.767 MB / 415.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005816/0.538, allocations: 1.775 MB / 417 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02364/0.5617, allocations: 15.4 MB / 432.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.5618, allocations: 0 / 432.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.282e-06/0.5618, allocations: 0 / 432.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007966/0.5626, allocations: 0 / 432.4 MB, free: 4.785 MB / 334.1 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.03801/0.6007, allocations: 10.35 MB / 442.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.84e-05/0.6008, allocations: 16.03 kB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03578/0.6366, allocations: 6.207 MB / 449 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/0.6534, allocations: 5.608 MB / 454.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/0.6546, allocations: 0.6722 MB / 455.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005663/0.6602, allocations: 0.8806 MB / 456.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05505/0.7153, allocations: 14.68 MB / 470.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005799/0.716, allocations: 11.91 kB / 470.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004728/0.7207, allocations: 373.2 kB / 471.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006228/0.7214, allocations: 0.4954 MB / 471.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03367/0.755, allocations: 13.48 MB / 485.2 MB, free: 128 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09612/0.8512, allocations: 44.7 MB / 0.5174 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4923/1.344, allocations: 11.67 MB / 0.5288 GB, free: 109.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006267/1.35, allocations: 3.217 MB / 0.532 GB, free: 108.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005082/1.35, allocations: 178.7 kB / 0.5321 GB, free: 108.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/1.351, allocations: 78.06 kB / 0.5322 GB, free: 108.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=421): time 6.633e-06/1.351, allocations: 3.875 kB / 0.5322 GB, free: 108.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=421): time 0.03033/1.381, allocations: 11 MB / 0.543 GB, free: 105.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/1.381, allocations: 124.9 kB / 0.5431 GB, free: 105.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006502/1.388, allocations: 3.128 MB / 0.5461 GB, free: 104.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009156/1.388, allocations: 97.31 kB / 0.5462 GB, free: 104.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002364/1.391, allocations: 3.684 MB / 0.5498 GB, free: 101.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001868/1.393, allocations: 1.431 MB / 0.5512 GB, free: 100.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/1.393, allocations: 119.5 kB / 0.5513 GB, free: 100.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002954/1.393, allocations: 0.5419 MB / 0.5519 GB, free: 99.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004528/1.398, allocations: 2.885 MB / 0.5547 GB, free: 98.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/1.403, allocations: 4.954 MB / 0.5595 GB, free: 95.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/1.409, allocations: 4.015 MB / 0.5634 GB, free: 93.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.274e-05/1.409, allocations: 19.31 kB / 0.5635 GB, free: 93.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01407/1.423, allocations: 9.191 MB / 0.5724 GB, free: 89.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/1.423, allocations: 33.75 kB / 0.5725 GB, free: 89.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/1.423, allocations: 65.06 kB / 0.5725 GB, free: 89.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/1.426, allocations: 1.13 MB / 0.5736 GB, free: 88.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/1.43, allocations: 1.291 MB / 0.5749 GB, free: 87.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/1.441, allocations: 9.92 MB / 0.5846 GB, free: 77.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005715/1.447, allocations: 0.7355 MB / 0.5853 GB, free: 76.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001681/1.449, allocations: 282.7 kB / 0.5856 GB, free: 76.36 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * 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.008647/1.458, allocations: 3.423 MB / 0.5889 GB, free: 72.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.459, allocations: 347.7 kB / 0.5893 GB, free: 72.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/1.471, allocations: 7.027 MB / 0.5961 GB, free: 65.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008375/1.48, allocations: 5.847 MB / 0.6018 GB, free: 59.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.107e-05/1.48, allocations: 8 kB / 0.6018 GB, free: 59.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-05/1.48, allocations: 23.92 kB / 0.6019 GB, free: 59.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02662/1.506, allocations: 15.51 MB / 0.617 GB, free: 43.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.507, allocations: 12 kB / 0.617 GB, free: 43.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/1.509, allocations: 0.784 MB / 0.6178 GB, free: 43.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/1.512, allocations: 1.04 MB / 0.6188 GB, free: 42.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000386/1.512, allocations: 108 kB / 0.6189 GB, free: 41.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/1.523, allocations: 9.671 MB / 0.6283 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.523, allocations: 23.83 kB / 0.6284 GB, free: 32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.538, allocations: 10.87 MB / 0.639 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/1.541, allocations: 1.011 MB / 0.64 GB, free: 19.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000921/1.542, allocations: 100 kB / 0.6401 GB, free: 19.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.544, allocations: 281 kB / 0.6403 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000641/1.545, allocations: 343.2 kB / 0.6407 GB, free: 19.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002552/1.545, allocations: 148 kB / 0.6408 GB, free: 19.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003229/1.548, allocations: 2.097 MB / 0.6428 GB, free: 16.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.3e-07/1.548, allocations: 0 / 0.6428 GB, free: 16.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008011/1.556, allocations: 2.226 MB / 0.645 GB, free: 14.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_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.001419/1.558, allocations: 301.7 kB / 0.6453 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01348/1.571, allocations: 7.548 MB / 0.6527 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.693e-05/1.571, allocations: 4.812 kB / 0.6527 GB, free: 6.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006881/1.578, allocations: 3.699 MB / 0.6563 GB, free: 3.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006578/1.585, allocations: 0.7783 MB / 0.6571 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/1.622, allocations: 18.95 MB / 0.6756 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007928/1.63, allocations: 5.765 MB / 0.6812 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.632, allocations: 367.4 kB / 0.6815 GB, free: 9.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.665e-06/1.632, allocations: 0 / 0.6815 GB, free: 9.02 MB / 462.1 MB Notification: Performance of Templates: time 0.91/2.542, allocations: 194.1 MB / 0.8711 GB, free: 141 MB / 478.1 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++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o] Error 1