Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009263/0.0009262, allocations: 87.67 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 196.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002425/0.0002425, allocations: 4 kB / 307.3 MB, free: 1.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 51.49 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.3245/0.4474, allocations: 14.29 MB / 373.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.4594, allocations: 4.311 MB / 377.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.4631, allocations: 120.4 kB / 377.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004466/0.4676, allocations: 0.8354 MB / 378.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008474/0.4761, allocations: 1.658 MB / 380 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.4807, allocations: 1.218 MB / 381.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0204/0.5011, allocations: 12.25 MB / 393.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03836/0.5395, allocations: 17.38 MB / 410.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009647/0.5492, allocations: 3.969 MB / 414.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009308/0.5586, allocations: 4.343 MB / 419.2 MB, free: 128 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002483/0.5611, allocations: 0.5625 MB / 419.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005877/0.567, allocations: 0.8551 MB / 420.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003757/0.5708, allocations: 1.76 MB / 422.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004765/0.5756, allocations: 1.775 MB / 424.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0208/0.5964, allocations: 15.4 MB / 439.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.5965, allocations: 10.5 kB / 439.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5965, allocations: 0 / 439.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005762/0.597, allocations: 0 / 439.5 MB, free: 11.73 MB / 350.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.02953/0.6266, allocations: 10.36 MB / 449.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6266, allocations: 8.031 kB / 449.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03357/0.6602, allocations: 6.247 MB / 456.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.672, allocations: 5.608 MB / 461.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007337/0.6728, allocations: 0.6743 MB / 462.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003559/0.6763, allocations: 0.8827 MB / 463.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03833/0.7147, allocations: 14.67 MB / 478 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/0.715, allocations: 11.89 kB / 478 MB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001852/0.7168, allocations: 372 kB / 478.4 MB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005033/0.7173, allocations: 495.3 kB / 478.8 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03029/0.7476, allocations: 13.5 MB / 492.3 MB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0832/0.8309, allocations: 45.18 MB / 0.5249 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4953/1.326, allocations: 11.68 MB / 0.5363 GB, free: 123.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007959/1.334, allocations: 3.212 MB / 0.5395 GB, free: 123.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/1.335, allocations: 261.9 kB / 0.5397 GB, free: 123.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.105e-05/1.335, allocations: 85.31 kB / 0.5398 GB, free: 123.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.813e-06/1.335, allocations: 0 / 0.5398 GB, free: 123.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02745/1.362, allocations: 11 MB / 0.5505 GB, free: 120.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/1.363, allocations: 119.6 kB / 0.5507 GB, free: 120.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005053/1.368, allocations: 3.135 MB / 0.5537 GB, free: 119.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003681/1.368, allocations: 93.55 kB / 0.5538 GB, free: 119.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001872/1.37, allocations: 3.683 MB / 0.5574 GB, free: 116.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.371, allocations: 1.427 MB / 0.5588 GB, free: 115.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/1.371, allocations: 119.7 kB / 0.5589 GB, free: 115.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002628/1.372, allocations: 0.5469 MB / 0.5594 GB, free: 115.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003722/1.375, allocations: 2.886 MB / 0.5623 GB, free: 114.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/1.38, allocations: 4.958 MB / 0.5671 GB, free: 110.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/1.385, allocations: 4.011 MB / 0.571 GB, free: 108.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-05/1.385, allocations: 19.03 kB / 0.571 GB, free: 108.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01235/1.397, allocations: 9.181 MB / 0.58 GB, free: 105.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/1.397, allocations: 34.41 kB / 0.58 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.923e-05/1.397, allocations: 65.94 kB / 0.5801 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/1.4, allocations: 1.131 MB / 0.5812 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00391/1.404, allocations: 1.285 MB / 0.5825 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.415, allocations: 9.925 MB / 0.5921 GB, free: 94.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/1.419, allocations: 0.7355 MB / 0.5929 GB, free: 93.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006522/1.42, allocations: 280 kB / 0.5931 GB, free: 93.24 MB / 446.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.005473/1.425, allocations: 3.42 MB / 0.5965 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/1.426, allocations: 355.5 kB / 0.5968 GB, free: 89.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.437, allocations: 7.027 MB / 0.6037 GB, free: 82.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007498/1.444, allocations: 5.85 MB / 0.6094 GB, free: 76.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/1.444, allocations: 8 kB / 0.6094 GB, free: 76.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.653e-05/1.444, allocations: 23.92 kB / 0.6094 GB, free: 76.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/1.467, allocations: 15.53 MB / 0.6246 GB, free: 60.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/1.467, allocations: 12 kB / 0.6246 GB, free: 60.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.47, allocations: 0.784 MB / 0.6254 GB, free: 59.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002507/1.472, allocations: 1.025 MB / 0.6264 GB, free: 58.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/1.473, allocations: 112 kB / 0.6265 GB, free: 58.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/1.483, allocations: 9.66 MB / 0.6359 GB, free: 48.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.483, allocations: 20.75 kB / 0.6359 GB, free: 48.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/1.497, allocations: 10.88 MB / 0.6465 GB, free: 37.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/1.5, allocations: 1.007 MB / 0.6475 GB, free: 36.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/1.5, allocations: 95.98 kB / 0.6476 GB, free: 36.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.502, allocations: 281.1 kB / 0.6479 GB, free: 36.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/1.503, allocations: 339.3 kB / 0.6482 GB, free: 36.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/1.503, allocations: 148 kB / 0.6484 GB, free: 35.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003034/1.506, allocations: 2.101 MB / 0.6504 GB, free: 33.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.506, allocations: 0 / 0.6504 GB, free: 33.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00706/1.513, allocations: 2.231 MB / 0.6526 GB, free: 31.56 MB / 446.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.001001/1.514, allocations: 292.6 kB / 0.6529 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01177/1.526, allocations: 7.534 MB / 0.6602 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/1.526, allocations: 4.438 kB / 0.6602 GB, free: 23.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005789/1.532, allocations: 3.718 MB / 0.6639 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/1.536, allocations: 0.7764 MB / 0.6646 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/1.566, allocations: 18.94 MB / 0.6831 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007356/1.573, allocations: 5.761 MB / 0.6887 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/1.575, allocations: 363.4 kB / 0.6891 GB, free: 9.926 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/1.575, allocations: 0 / 0.6891 GB, free: 9.926 MB / 462.1 MB Notification: Performance of Templates: time 0.5848/2.16, allocations: 194 MB / 0.8786 GB, free: 2.004 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o] Error 1