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.0008312/0.0008312, allocations: 88.3 kB / 17.58 MB, free: 5.758 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.0009794/0.0009796, allocations: 186.4 kB / 18.48 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004976/0.0004978, allocations: 16 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1115, allocations: 47.57 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008344/0.1198, allocations: 6.228 MB / 335.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004793/0.1247, allocations: 2.076 MB / 337.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.126, allocations: 43.75 kB / 337.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.1273, allocations: 314.1 kB / 337.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.13, allocations: 0.7504 MB / 338.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009998/0.131, allocations: 267.3 kB / 338.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004055/0.1351, allocations: 3.16 MB / 341.8 MB, free: 7.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.1382, allocations: 1.976 MB / 343.8 MB, free: 5.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.1401, allocations: 1.016 MB / 344.8 MB, free: 4.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.1426, allocations: 1.331 MB / 346.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006074/0.1432, allocations: 156 kB / 346.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.1445, allocations: 259.9 kB / 346.5 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009681/0.1455, allocations: 0.6423 MB / 347.2 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008491/0.1464, allocations: 0.5471 MB / 347.7 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0039/0.1503, allocations: 3.724 MB / 351.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1503, allocations: 0 / 351.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.1503, allocations: 0 / 351.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.43e-05/0.1504, allocations: 0 / 351.5 MB, free: 13.48 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.006747/0.1571, allocations: 3.141 MB / 354.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1572, allocations: 8.031 kB / 354.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.1605, allocations: 0.699 MB / 355.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.1631, allocations: 1.624 MB / 356.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.1633, allocations: 201.3 kB / 357.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003506/0.1637, allocations: 267.9 kB / 357.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005906/0.1696, allocations: 3.607 MB / 361 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.1696, allocations: 0 / 361 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.1699, allocations: 111.9 kB / 361.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.17, allocations: 101.4 kB / 361.2 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004873/0.1749, allocations: 3.105 MB / 364.3 MB, free: 444 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.1901, allocations: 10.54 MB / 374.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/0.1953, allocations: 4.687 MB / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2172/0.4125, allocations: 0.9512 MB / 380.5 MB, free: 50.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004701/0.4173, allocations: 2.463 MB / 382.9 MB, free: 49.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.4173, allocations: 52.02 kB / 383 MB, free: 49.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.797e-06/0.4173, allocations: 4.219 kB / 383 MB, free: 49.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.008035/0.4254, allocations: 2.805 MB / 385.8 MB, free: 48.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.4255, allocations: 92.08 kB / 385.9 MB, free: 48.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.4282, allocations: 1.364 MB / 387.3 MB, free: 48.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.853e-05/0.4283, allocations: 46.3 kB / 387.3 MB, free: 48.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/0.4292, allocations: 1.164 MB / 388.5 MB, free: 47.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.4295, allocations: 364.6 kB / 388.8 MB, free: 47.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.4296, allocations: 20.88 kB / 388.8 MB, free: 47.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4297, allocations: 353.9 kB / 389.2 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.4307, allocations: 0.5903 MB / 389.8 MB, free: 46.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.4318, allocations: 0.8644 MB / 390.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4329, allocations: 0.7259 MB / 391.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4329, allocations: 6.141 kB / 391.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003244/0.4362, allocations: 2.005 MB / 393.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4362, allocations: 19.53 kB / 393.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4362, allocations: 11.7 kB / 393.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008525/0.4371, allocations: 396.4 kB / 393.8 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/0.438, allocations: 225 kB / 394 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0063/0.4443, allocations: 6.083 MB / 400.1 MB, free: 40.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009553/0.4452, allocations: 152.7 kB / 400.3 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.4453, allocations: 46.95 kB / 400.3 MB, free: 40.57 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 (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.001397/0.4467, allocations: 0.8605 MB / 401.2 MB, free: 40.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.4469, allocations: 139.2 kB / 401.3 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.4495, allocations: 1.704 MB / 403 MB, free: 38.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4495, allocations: 7.562 kB / 403 MB, free: 38.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.4495, allocations: 11.64 kB / 403 MB, free: 38.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4495, allocations: 3.984 kB / 403 MB, free: 38.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.4543, allocations: 4.005 MB / 407 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4544, allocations: 4.75 kB / 407 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.4549, allocations: 144 kB / 407.2 MB, free: 35.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007308/0.4556, allocations: 393.5 kB / 407.6 MB, free: 35.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.4557, allocations: 35.97 kB / 407.6 MB, free: 35.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005321/0.461, allocations: 6.077 MB / 413.7 MB, free: 29.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.461, allocations: 4.031 kB / 413.7 MB, free: 29.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/0.4643, allocations: 2.535 MB / 416.2 MB, free: 26.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.4647, allocations: 247.2 kB / 416.4 MB, free: 26.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.4649, allocations: 37.02 kB / 416.5 MB, free: 26.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/0.4655, allocations: 95.91 kB / 416.6 MB, free: 26.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.4657, allocations: 104.6 kB / 416.7 MB, free: 26.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.4658, allocations: 31.98 kB / 416.7 MB, free: 26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.467, allocations: 0.9552 MB / 417.7 MB, free: 25.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.467, allocations: 0 / 417.7 MB, free: 25.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001834/0.4689, allocations: 0.6727 MB / 418.3 MB, free: 24.36 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 (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.0002736/0.4692, allocations: 152.4 kB / 418.5 MB, free: 24.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.4716, allocations: 1.818 MB / 420.3 MB, free: 22.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.4716, allocations: 4.188 kB / 420.3 MB, free: 22.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.473, allocations: 1.138 MB / 421.4 MB, free: 21.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.4743, allocations: 302.4 kB / 421.7 MB, free: 20.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/0.4807, allocations: 5.525 MB / 427.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.4821, allocations: 2.132 MB / 429.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.4824, allocations: 91.42 kB / 429.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4824, allocations: 0 / 429.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of Templates: time 0.06366/0.5461, allocations: 52.4 MB / 481.9 MB, free: 8.562 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++ 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_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