Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009064/0.0009066, allocations: 91.48 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 203.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002568, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00834/0.1313, allocations: 6.785 MB / 365.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005697/0.137, allocations: 2.263 MB / 367.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1381, allocations: 55.75 kB / 367.9 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009345/0.1391, allocations: 318 kB / 368.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.1413, allocations: 0.7349 MB / 368.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.1421, allocations: 259.3 kB / 369.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.1465, allocations: 3.249 MB / 372.4 MB, free: 444 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3168/0.4634, allocations: 2.002 MB / 374.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.4663, allocations: 1.013 MB / 375.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.4699, allocations: 1.325 MB / 376.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007758/0.4707, allocations: 156.5 kB / 376.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.4721, allocations: 278.6 kB / 377.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009775/0.4731, allocations: 0.6378 MB / 377.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.4742, allocations: 0.5509 MB / 378.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.4803, allocations: 3.744 MB / 382.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4803, allocations: 0.5469 kB / 382.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4803, allocations: 0 / 382.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001845/0.4805, allocations: 0 / 382.1 MB, free: 8.676 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.01082/0.4913, allocations: 3.169 MB / 385.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4914, allocations: 10.06 kB / 385.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.4966, allocations: 0.7576 MB / 386.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005308/0.502, allocations: 1.703 MB / 387.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/0.5023, allocations: 195 kB / 388 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.5037, allocations: 265.9 kB / 388.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.5147, allocations: 3.603 MB / 391.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.497e-05/0.5148, allocations: 0 / 391.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.5151, allocations: 109.9 kB / 391.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.5152, allocations: 108.5 kB / 392 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006295/0.5215, allocations: 3.103 MB / 395.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01909/0.5407, allocations: 10.41 MB / 405.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006544/0.5473, allocations: 4.56 MB / 410.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.5489, allocations: 0.9492 MB / 411.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005174/0.554, allocations: 2.661 MB / 413.7 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.5541, allocations: 43.44 kB / 413.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.966e-06/0.5541, allocations: 0 / 413.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006791/0.5609, allocations: 2.766 MB / 416.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.561, allocations: 89.98 kB / 416.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.5634, allocations: 1.375 MB / 418 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.5635, allocations: 41.7 kB / 418 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.5648, allocations: 1.168 MB / 419.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.5652, allocations: 362.8 kB / 419.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.5653, allocations: 28 kB / 419.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.5655, allocations: 349.9 kB / 419.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009783/0.5665, allocations: 0.5725 MB / 420.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.5678, allocations: 0.8601 MB / 421.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.569, allocations: 0.705 MB / 422.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.569, allocations: 4 kB / 422.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00357/0.5726, allocations: 1.973 MB / 424.1 MB, free: 8.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.5727, allocations: 12 kB / 424.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5727, allocations: 8 kB / 424.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.5737, allocations: 416.3 kB / 424.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008219/0.5746, allocations: 218 kB / 424.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008/0.5826, allocations: 5.981 MB / 430.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.5842, allocations: 154.8 kB / 430.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/0.5843, allocations: 44 kB / 430.9 MB, free: 1.312 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.002641/0.587, allocations: 0.864 MB / 431.7 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/0.5874, allocations: 134.4 kB / 431.9 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/0.5906, allocations: 1.671 MB / 433.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5907, allocations: 8 kB / 433.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.5907, allocations: 12 kB / 433.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.5907, allocations: 7.969 kB / 433.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006894/0.5976, allocations: 3.929 MB / 437.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5976, allocations: 0 / 437.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.5982, allocations: 135.8 kB / 437.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009283/0.5991, allocations: 401.4 kB / 438 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.5992, allocations: 34.61 kB / 438 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007198/0.6064, allocations: 5.96 MB / 444 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6065, allocations: 4.031 kB / 444 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004329/0.6108, allocations: 2.509 MB / 446.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006884/0.6115, allocations: 239.2 kB / 446.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.6117, allocations: 31.98 kB / 446.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/0.6126, allocations: 99.88 kB / 446.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.6128, allocations: 92.72 kB / 447 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.6129, allocations: 28 kB / 447 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002047/0.615, allocations: 0.9634 MB / 448 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.615, allocations: 0 / 448 MB, free: 15.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002751/0.6178, allocations: 0.6727 MB / 448.6 MB, free: 15.14 MB / 366.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.0003624/0.6181, allocations: 168.3 kB / 448.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.6214, allocations: 1.79 MB / 450.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.6215, allocations: 12 kB / 450.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.6235, allocations: 1.137 MB / 451.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.6253, allocations: 300.9 kB / 452 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009447/0.6347, allocations: 5.515 MB / 457.5 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/0.637, allocations: 2.117 MB / 459.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/0.6375, allocations: 101.9 kB / 459.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6375, allocations: 0 / 459.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of Templates: time 0.07936/0.7169, allocations: 52.52 MB / 0.5003 GB, free: 15.42 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o] Error 1