Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.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.001044/0.001043, allocations: 87.59 kB / 17.58 MB, free: 5.754 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.001448/0.001448, allocations: 183.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.68/1.68, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004552/0.0004552, allocations: 8 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 47.59 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01475/0.1268, allocations: 14.22 MB / 343.2 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1375, allocations: 4.266 MB / 347.5 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.1401, allocations: 107.6 kB / 347.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.1428, allocations: 0.839 MB / 348.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.1479, allocations: 1.587 MB / 350 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.1511, allocations: 1.274 MB / 351.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01537/0.1665, allocations: 12.13 MB / 363.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03117/0.1977, allocations: 17.37 MB / 380.8 MB, free: 44 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2565/0.4542, allocations: 3.957 MB / 384.7 MB, free: 22.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/0.4669, allocations: 4.344 MB / 389.1 MB, free: 22.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004476/0.4714, allocations: 0.5624 MB / 389.7 MB, free: 22.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009351/0.4808, allocations: 0.8336 MB / 390.5 MB, free: 22.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008315/0.4892, allocations: 1.759 MB / 392.2 MB, free: 22.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007635/0.4969, allocations: 1.777 MB / 394 MB, free: 22.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02072/0.5177, allocations: 15.23 MB / 409.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.5178, allocations: 0 / 409.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5178, allocations: 0 / 409.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0009592/0.5188, allocations: 0 / 409.3 MB, free: 15.93 MB / 318.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.03648/0.5552, allocations: 10.38 MB / 419.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.5553, allocations: 8.031 kB / 419.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03363/0.589, allocations: 6.214 MB / 425.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.604, allocations: 5.126 MB / 431 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009105/0.605, allocations: 0.6697 MB / 431.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005371/0.6104, allocations: 0.8736 MB / 432.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04945/0.6598, allocations: 14.67 MB / 447.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003633/0.6602, allocations: 16.58 kB / 447.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003185/0.6634, allocations: 372 kB / 447.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005543/0.664, allocations: 0.4915 MB / 448.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0338/0.6978, allocations: 13.48 MB / 461.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09532/0.7932, allocations: 44.69 MB / 0.4944 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/0.8071, allocations: 11.69 MB / 0.5058 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00515/0.8123, allocations: 3.219 MB / 0.5089 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/0.8128, allocations: 174.9 kB / 0.5091 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/0.8129, allocations: 82.52 kB / 0.5092 GB, free: 8.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=421): time 6.242e-06/0.8129, allocations: 0 / 0.5092 GB, free: 8.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=421): time 0.02522/0.8381, allocations: 11 MB / 0.5199 GB, free: 13.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.8382, allocations: 125.9 kB / 0.52 GB, free: 13.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/0.8445, allocations: 3.128 MB / 0.5231 GB, free: 9.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001049/0.8456, allocations: 93.7 kB / 0.5232 GB, free: 9.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002592/0.8482, allocations: 3.679 MB / 0.5268 GB, free: 6.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002008/0.8502, allocations: 1.432 MB / 0.5282 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.8505, allocations: 116 kB / 0.5283 GB, free: 4.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003346/0.8509, allocations: 0.5459 MB / 0.5288 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00433/0.8552, allocations: 2.888 MB / 0.5316 GB, free: 1.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2557/1.111, allocations: 4.948 MB / 0.5365 GB, free: 130.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006526/1.118, allocations: 4.014 MB / 0.5404 GB, free: 129.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-05/1.118, allocations: 18.84 kB / 0.5404 GB, free: 129.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01812/1.136, allocations: 9.185 MB / 0.5494 GB, free: 127 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.572e-05/1.136, allocations: 32.38 kB / 0.5494 GB, free: 127 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001796/1.136, allocations: 66.41 kB / 0.5495 GB, free: 127 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/1.139, allocations: 1.135 MB / 0.5506 GB, free: 126.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/1.144, allocations: 1.295 MB / 0.5518 GB, free: 126.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.157, allocations: 9.901 MB / 0.5615 GB, free: 121.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/1.162, allocations: 0.7449 MB / 0.5622 GB, free: 120.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.163, allocations: 278.4 kB / 0.5625 GB, free: 120.6 MB / 430.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.007144/1.17, allocations: 3.429 MB / 0.5659 GB, free: 119 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009684/1.171, allocations: 353.3 kB / 0.5662 GB, free: 118.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.182, allocations: 7.029 MB / 0.5731 GB, free: 115.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007578/1.189, allocations: 5.837 MB / 0.5788 GB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.189, allocations: 8 kB / 0.5788 GB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/1.189, allocations: 34.25 kB / 0.5788 GB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02376/1.213, allocations: 15.51 MB / 0.5939 GB, free: 96.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/1.213, allocations: 15.94 kB / 0.594 GB, free: 96.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/1.216, allocations: 0.7879 MB / 0.5947 GB, free: 95.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/1.218, allocations: 1.032 MB / 0.5957 GB, free: 94.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004432/1.219, allocations: 112 kB / 0.5958 GB, free: 94.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.229, allocations: 9.668 MB / 0.6053 GB, free: 84.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.229, allocations: 19.88 kB / 0.6053 GB, free: 84.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.244, allocations: 10.87 MB / 0.6159 GB, free: 73.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/1.246, allocations: 1.011 MB / 0.6169 GB, free: 72.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008165/1.247, allocations: 99.94 kB / 0.617 GB, free: 72.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.249, allocations: 281.7 kB / 0.6173 GB, free: 72.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005522/1.25, allocations: 335.3 kB / 0.6176 GB, free: 71.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/1.25, allocations: 144 kB / 0.6177 GB, free: 71.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003906/1.254, allocations: 2.105 MB / 0.6198 GB, free: 69.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.254, allocations: 0 / 0.6198 GB, free: 69.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007449/1.261, allocations: 2.228 MB / 0.622 GB, free: 67.37 MB / 430.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.0009247/1.262, allocations: 300.3 kB / 0.6222 GB, free: 67.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01126/1.274, allocations: 7.54 MB / 0.6296 GB, free: 59.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/1.274, allocations: 6.625 kB / 0.6296 GB, free: 59.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005749/1.279, allocations: 3.71 MB / 0.6332 GB, free: 55.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00439/1.284, allocations: 0.7834 MB / 0.634 GB, free: 54.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/1.312, allocations: 18.95 MB / 0.6525 GB, free: 35.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005158/1.317, allocations: 5.761 MB / 0.6581 GB, free: 30.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.318, allocations: 363.4 kB / 0.6585 GB, free: 29.69 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/1.319, allocations: 0 / 0.6585 GB, free: 29.69 MB / 430.1 MB Notification: Performance of Templates: time 0.4667/1.785, allocations: 194 MB / 0.8479 GB, free: 6.176 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLossesCalcHelperMain.o] Error 1