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.0017/0.0017, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001849/0.001849, allocations: 194 kB / 18.72 MB, free: 4.762 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.167/2.167, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001211/0.001211, allocations: 43.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 46.63 MB / 327.2 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01166/0.1744, allocations: 7.148 MB / 334.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.1806, allocations: 2.22 MB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.1826, allocations: 47.75 kB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.1846, allocations: 370 kB / 337 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.1892, allocations: 0.8089 MB / 337.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.191, allocations: 331.5 kB / 338.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006255/0.1973, allocations: 3.452 MB / 341.6 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00441/0.2017, allocations: 2.392 MB / 344 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.2044, allocations: 1.21 MB / 345.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.208, allocations: 1.619 MB / 346.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.2093, allocations: 236 kB / 347.1 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.212, allocations: 363.9 kB / 347.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.2138, allocations: 0.7592 MB / 348.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002838/0.2167, allocations: 1.465 MB / 349.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.221, allocations: 3.816 MB / 353.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.2211, allocations: 0 / 353.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2211, allocations: 0 / 353.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001034/0.2212, allocations: 0 / 353.5 MB, free: 10.51 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.01032/0.2315, allocations: 3.633 MB / 357.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.408e-05/0.2316, allocations: 8.031 kB / 357.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.2353, allocations: 0.6882 MB / 357.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.2385, allocations: 1.678 MB / 359.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.2386, allocations: 201.7 kB / 359.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.2391, allocations: 264.1 kB / 359.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006695/0.2458, allocations: 3.611 MB / 363.5 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.2458, allocations: 0 / 363.5 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.2461, allocations: 104 kB / 363.6 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.2462, allocations: 113.3 kB / 363.7 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/0.2518, allocations: 3.089 MB / 366.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/0.273, allocations: 10.5 MB / 377.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3078/0.5809, allocations: 4.679 MB / 382 MB, free: 47.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/0.5837, allocations: 0.953 MB / 383 MB, free: 47.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005971/0.5897, allocations: 2.453 MB / 385.4 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.5898, allocations: 45.64 kB / 385.5 MB, free: 46.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.257e-06/0.5898, allocations: 3.969 kB / 385.5 MB, free: 46.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.008192/0.598, allocations: 2.692 MB / 388.2 MB, free: 45.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.5981, allocations: 92.98 kB / 388.2 MB, free: 45.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00319/0.6013, allocations: 1.376 MB / 389.6 MB, free: 45.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-05/0.6014, allocations: 42.94 kB / 389.7 MB, free: 45.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.6025, allocations: 1.176 MB / 390.8 MB, free: 44.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.6029, allocations: 356.6 kB / 391.2 MB, free: 44.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/0.6033, allocations: 217.1 kB / 391.4 MB, free: 44.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6034, allocations: 353.5 kB / 391.7 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.6045, allocations: 0.5763 MB / 392.3 MB, free: 43.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.6058, allocations: 0.8593 MB / 393.2 MB, free: 42.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.6081, allocations: 1.487 MB / 394.7 MB, free: 42.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.6081, allocations: 0 / 394.7 MB, free: 42.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003553/0.6117, allocations: 2.002 MB / 396.7 MB, free: 41.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.6117, allocations: 9.094 kB / 396.7 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.6118, allocations: 15.97 kB / 396.7 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.613, allocations: 399.9 kB / 397.1 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.6139, allocations: 220 kB / 397.3 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006547/0.6205, allocations: 6.087 MB / 403.4 MB, free: 36.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.6217, allocations: 144.8 kB / 403.5 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.6218, allocations: 47.56 kB / 403.6 MB, free: 36.75 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.001909/0.6237, allocations: 0.8636 MB / 404.4 MB, free: 36.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.624, allocations: 135.6 kB / 404.6 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.6267, allocations: 1.679 MB / 406.2 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.6268, allocations: 11.41 kB / 406.3 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6268, allocations: 3.719 kB / 406.3 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6268, allocations: 11.53 kB / 406.3 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/0.6323, allocations: 3.996 MB / 410.3 MB, free: 31.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6323, allocations: 4 kB / 410.3 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.6328, allocations: 137.2 kB / 410.4 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008045/0.6336, allocations: 393.5 kB / 410.8 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.6337, allocations: 31.98 kB / 410.8 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005576/0.6393, allocations: 6.088 MB / 416.9 MB, free: 24.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6393, allocations: 4.031 kB / 416.9 MB, free: 24.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.6426, allocations: 2.5 MB / 419.4 MB, free: 22.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.6432, allocations: 247.2 kB / 419.7 MB, free: 21.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.6433, allocations: 39.92 kB / 419.7 MB, free: 21.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000731/0.6441, allocations: 87.91 kB / 419.8 MB, free: 21.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.6443, allocations: 96.66 kB / 419.9 MB, free: 21.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.6444, allocations: 32 kB / 419.9 MB, free: 21.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.6457, allocations: 0.9652 MB / 420.9 MB, free: 20.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6457, allocations: 0 / 420.9 MB, free: 20.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002165/0.6478, allocations: 0.6727 MB / 421.5 MB, free: 19.93 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.0003334/0.6482, allocations: 145.3 kB / 421.7 MB, free: 19.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.651, allocations: 1.801 MB / 423.5 MB, free: 17.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6511, allocations: 5.188 kB / 423.5 MB, free: 17.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.6527, allocations: 1.14 MB / 424.6 MB, free: 16.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6542, allocations: 294.2 kB / 424.9 MB, free: 16.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/0.6623, allocations: 5.71 MB / 430.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.6638, allocations: 2.127 MB / 432.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.6642, allocations: 91.42 kB / 432.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6642, allocations: 0 / 432.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of Templates: time 0.09353/0.7578, allocations: 52.67 MB / 485.5 MB, free: 3.742 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