Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001003/0.001003, allocations: 92.64 kB / 17.96 MB, free: 5.621 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.001385/0.001385, allocations: 185.8 kB / 18.87 MB, free: 4.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 225 MB, free: 12.98 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005283/0.0005284, allocations: 12.47 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1375, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007325/0.1448, allocations: 6.638 MB / 336.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.1501, allocations: 2.193 MB / 338.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009088/0.1511, allocations: 43.75 kB / 338.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009219/0.152, allocations: 378 kB / 338.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.1543, allocations: 0.7894 MB / 339.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.1551, allocations: 331.5 kB / 340 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003746/0.1589, allocations: 3.444 MB / 343.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.1614, allocations: 2.372 MB / 345.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.1629, allocations: 1.027 MB / 346.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.1646, allocations: 1.396 MB / 348.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.1648, allocations: 152 kB / 348.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000698/0.1655, allocations: 275.9 kB / 348.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000548/0.1661, allocations: 0.6499 MB / 349.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.1676, allocations: 1.342 MB / 350.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.1708, allocations: 3.713 MB / 354.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1708, allocations: 0 / 354.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1708, allocations: 0 / 354.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.134e-05/0.1709, allocations: 4 kB / 354.3 MB, free: 10.86 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.007415/0.1783, allocations: 3.122 MB / 357.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1783, allocations: 8.031 kB / 357.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/0.1818, allocations: 0.6921 MB / 358.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.1847, allocations: 1.675 MB / 359.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.1849, allocations: 197.7 kB / 360 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.1853, allocations: 268 kB / 360.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005994/0.1913, allocations: 3.626 MB / 363.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/0.1913, allocations: 3.938 kB / 363.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.1916, allocations: 108 kB / 364 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.683e-05/0.1917, allocations: 109.4 kB / 364.1 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005114/0.1968, allocations: 3.117 MB / 367.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.2125, allocations: 10.56 MB / 377.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2681/0.4806, allocations: 4.685 MB / 382.5 MB, free: 48.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/0.4829, allocations: 0.9608 MB / 383.5 MB, free: 48.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005195/0.4881, allocations: 2.464 MB / 385.9 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4882, allocations: 48.64 kB / 386 MB, free: 47.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/0.4882, allocations: 0 / 386 MB, free: 47.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.007636/0.4958, allocations: 2.756 MB / 388.7 MB, free: 46.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.4959, allocations: 92.84 kB / 388.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.4985, allocations: 1.379 MB / 390.2 MB, free: 45.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.4986, allocations: 41.83 kB / 390.2 MB, free: 45.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009801/0.4996, allocations: 1.163 MB / 391.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.4999, allocations: 359.5 kB / 391.8 MB, free: 44.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.5001, allocations: 105 kB / 391.9 MB, free: 44.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5003, allocations: 351 kB / 392.2 MB, free: 44.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.5014, allocations: 0.5903 MB / 392.8 MB, free: 43.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.5029, allocations: 0.8769 MB / 393.7 MB, free: 43.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.5054, allocations: 1.511 MB / 395.2 MB, free: 42.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.5054, allocations: 7.969 kB / 395.2 MB, free: 42.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003731/0.5092, allocations: 2.016 MB / 397.2 MB, free: 41.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.5092, allocations: 8.281 kB / 397.2 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.5092, allocations: 17.42 kB / 397.2 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5103, allocations: 403.9 kB / 397.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/0.5112, allocations: 223.6 kB / 397.8 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006275/0.5175, allocations: 6.098 MB / 403.9 MB, free: 37.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/0.5186, allocations: 153.8 kB / 404.1 MB, free: 37.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.5186, allocations: 50.83 kB / 404.1 MB, free: 37.08 MB / 318.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001793/0.5204, allocations: 0.8658 MB / 405 MB, free: 36.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.5207, allocations: 130.1 kB / 405.1 MB, free: 36.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.5234, allocations: 1.704 MB / 406.8 MB, free: 35.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5234, allocations: 11.59 kB / 406.8 MB, free: 35.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5235, allocations: 9.812 kB / 406.9 MB, free: 35.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.5235, allocations: 10.31 kB / 406.9 MB, free: 35.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.5288, allocations: 4.011 MB / 410.9 MB, free: 31.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5288, allocations: 0 / 410.9 MB, free: 31.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.5294, allocations: 144 kB / 411 MB, free: 31.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000811/0.5302, allocations: 401.2 kB / 411.4 MB, free: 31.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.5303, allocations: 39.97 kB / 411.4 MB, free: 31.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005576/0.5358, allocations: 6.092 MB / 417.5 MB, free: 24.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5359, allocations: 4 kB / 417.5 MB, free: 24.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/0.5393, allocations: 2.546 MB / 420.1 MB, free: 22.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.5397, allocations: 239.2 kB / 420.3 MB, free: 21.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.5399, allocations: 39.92 kB / 420.4 MB, free: 21.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.5406, allocations: 95.91 kB / 420.5 MB, free: 21.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.5409, allocations: 100.6 kB / 420.6 MB, free: 21.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.5409, allocations: 39.98 kB / 420.6 MB, free: 21.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001184/0.5421, allocations: 0.963 MB / 421.6 MB, free: 20.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5421, allocations: 0 / 421.6 MB, free: 20.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002049/0.5442, allocations: 0.6727 MB / 422.2 MB, free: 19.99 MB / 318.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003571/0.5446, allocations: 146.3 kB / 422.4 MB, free: 19.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003025/0.5476, allocations: 1.821 MB / 424.2 MB, free: 17.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5476, allocations: 384 / 424.2 MB, free: 17.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.5491, allocations: 1.156 MB / 425.3 MB, free: 16.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.5509, allocations: 299.9 kB / 425.6 MB, free: 16.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/0.5592, allocations: 5.793 MB / 431.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.5609, allocations: 2.113 MB / 433.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.5614, allocations: 99.41 kB / 433.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of SimCode: time 1.001e-06/0.5614, allocations: 2.625 kB / 433.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of Templates: time 0.0719/0.6333, allocations: 52.3 MB / 485.9 MB, free: 4.035 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o] Error 1