Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.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.00148/0.001481, allocations: 98.8 kB / 16.96 MB, free: 6.453 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.001849/0.00185, allocations: 179.2 kB / 17.84 MB, free: 6 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.523/1.523, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002491/0.0002491, allocations: 8 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 50.42 MB / 351.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007144/0.1259, allocations: 6.261 MB / 358.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.1306, allocations: 2.044 MB / 360.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/0.1315, allocations: 47.81 kB / 360.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008212/0.1324, allocations: 318 kB / 360.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.1346, allocations: 0.7543 MB / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.1354, allocations: 262.7 kB / 361.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003981/0.1394, allocations: 3.164 MB / 364.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.142, allocations: 2 MB / 366.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.144, allocations: 1.008 MB / 367.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.1459, allocations: 1.33 MB / 369 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.1462, allocations: 152 kB / 369.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000993/0.1472, allocations: 275.9 kB / 369.5 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007184/0.1479, allocations: 0.6344 MB / 370.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.1488, allocations: 0.5471 MB / 370.6 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3307/0.4795, allocations: 3.722 MB / 374.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.4796, allocations: 1.781 kB / 374.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4796, allocations: 3.953 kB / 374.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002572/0.4799, allocations: 0 / 374.4 MB, free: 13.08 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01321/0.4931, allocations: 3.151 MB / 377.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.4932, allocations: 10.19 kB / 377.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005611/0.4988, allocations: 0.6943 MB / 378.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/0.505, allocations: 1.7 MB / 379.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.5056, allocations: 198 kB / 380.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002002/0.5076, allocations: 259.5 kB / 380.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.5258, allocations: 3.602 MB / 384 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/0.526, allocations: 1.188 kB / 384 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/0.5274, allocations: 117.8 kB / 384.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.5276, allocations: 98.66 kB / 384.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009228/0.5369, allocations: 3.105 MB / 387.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.5604, allocations: 10.42 MB / 397.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/0.5647, allocations: 4.569 MB / 402.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.5664, allocations: 0.9535 MB / 403.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005123/0.5716, allocations: 2.405 MB / 405.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.5716, allocations: 49.25 kB / 405.7 MB, free: 12.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.5716, allocations: 0 / 405.7 MB, free: 12.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.007124/0.5788, allocations: 2.771 MB / 408.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.5789, allocations: 89.98 kB / 408.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.582, allocations: 1.359 MB / 409.9 MB, free: 8.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5821, allocations: 41.7 kB / 410 MB, free: 8.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.5833, allocations: 1.168 MB / 411.1 MB, free: 7.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.5838, allocations: 358.1 kB / 411.5 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.5838, allocations: 20 kB / 411.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.584, allocations: 361.9 kB / 411.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.5851, allocations: 0.572 MB / 412.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5864, allocations: 0.856 MB / 413.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.5878, allocations: 0.7089 MB / 414 MB, free: 4.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.5878, allocations: 4 kB / 414 MB, free: 4.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004101/0.5919, allocations: 1.975 MB / 416 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.592, allocations: 11.19 kB / 416 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.592, allocations: 8 kB / 416 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.5931, allocations: 399.5 kB / 416.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/0.594, allocations: 224.9 kB / 416.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007872/0.6018, allocations: 5.984 MB / 422.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.6033, allocations: 142.7 kB / 422.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.6036, allocations: 51.98 kB / 422.8 MB, free: 11.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002478/0.6061, allocations: 0.8597 MB / 423.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005949/0.6067, allocations: 142.4 kB / 423.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/0.6103, allocations: 1.668 MB / 425.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.6104, allocations: 10.91 kB / 425.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.871e-05/0.6104, allocations: 8 kB / 425.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.6104, allocations: 7.922 kB / 425.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008409/0.6188, allocations: 3.929 MB / 429.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6189, allocations: 0 / 429.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.6195, allocations: 146.4 kB / 429.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.6205, allocations: 403.3 kB / 429.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/0.6206, allocations: 31.98 kB / 429.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008288/0.6289, allocations: 5.953 MB / 435.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.148e-06/0.629, allocations: 4.031 kB / 435.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/0.6335, allocations: 2.508 MB / 438.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000734/0.6343, allocations: 243.2 kB / 438.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/0.6348, allocations: 24 kB / 438.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6359, allocations: 99.91 kB / 438.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.6361, allocations: 95.55 kB / 438.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6363, allocations: 42.39 kB / 438.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002034/0.6383, allocations: 0.9551 MB / 439.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6383, allocations: 0 / 439.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002932/0.6412, allocations: 0.6727 MB / 440.5 MB, free: 9.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003809/0.6416, allocations: 154.3 kB / 440.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003389/0.645, allocations: 1.791 MB / 442.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6451, allocations: 0 / 442.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.6471, allocations: 1.136 MB / 443.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.6493, allocations: 295.5 kB / 443.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.6599, allocations: 5.507 MB / 449.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.6626, allocations: 2.124 MB / 451.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005769/0.6632, allocations: 91.42 kB / 451.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6633, allocations: 4 kB / 451.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Templates: time 0.07869/0.742, allocations: 52.33 MB / 0.4921 GB, free: 10.07 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.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.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o] Error 1