Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006454/0.0006454, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.0007034/0.0007036, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.133/1.133, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2217/0.2217, allocations: 48.78 MB / 321.5 MB, free: 11.11 MB / 270.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.0004324/0.0004325, allocations: 14.41 kB / 392.5 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07546/0.0759, allocations: 60.26 MB / 452.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002808/0.07875, allocations: 3.013 MB / 455.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.07991, allocations: 0.8733 MB / 456.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.08007, allocations: 7.938 kB / 456.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.08019, allocations: 39.62 kB / 456.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.08047, allocations: 131.1 kB / 456.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.08067, allocations: 99.83 kB / 456.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.08109, allocations: 0.4944 MB / 457.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.08129, allocations: 129.4 kB / 457.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.08148, allocations: 179.1 kB / 457.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.0817, allocations: 202.9 kB / 457.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.08175, allocations: 20 kB / 457.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.08182, allocations: 20 kB / 457.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.08188, allocations: 71.56 kB / 458 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.08205, allocations: 236.4 kB / 458.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.08231, allocations: 299.1 kB / 458.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.08232, allocations: 0 / 458.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08232, allocations: 3.938 kB / 458.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.08234, allocations: 8 kB / 458.5 MB, free: 3.34 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00103/0.08337, allocations: 0.7127 MB / 459.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.08341, allocations: 8.031 kB / 459.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.08353, allocations: 56.28 kB / 459.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.08389, allocations: 366 kB / 459.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.08392, allocations: 25.03 kB / 459.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.08398, allocations: 36.38 kB / 459.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.08444, allocations: 322.2 kB / 460 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.08447, allocations: 3.906 kB / 460 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.0845, allocations: 15.98 kB / 460 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.08451, allocations: 8 kB / 460.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.08489, allocations: 214.5 kB / 460.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.08638, allocations: 1.183 MB / 461.4 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.08683, allocations: 256.1 kB / 461.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.08703, allocations: 133.3 kB / 461.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.08707, allocations: 4.281 kB / 461.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.08709, allocations: 42.84 kB / 461.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/0.0871, allocations: 0 / 461.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001845/0.08895, allocations: 1.103 MB / 463 MB, free: 14.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.089, allocations: 55.41 kB / 463 MB, free: 14.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.08934, allocations: 377.7 kB / 463.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.08938, allocations: 29.7 kB / 463.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.08951, allocations: 220.6 kB / 463.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.08959, allocations: 130 kB / 463.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.08964, allocations: 41.69 kB / 463.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.08977, allocations: 354.7 kB / 464.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.08994, allocations: 104.8 kB / 464.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.09014, allocations: 144.6 kB / 464.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.09052, allocations: 256 kB / 464.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.09053, allocations: 0 / 464.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004898/0.09102, allocations: 348.9 kB / 465 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.09104, allocations: 4 kB / 465 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.09105, allocations: 8.125 kB / 465 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.09107, allocations: 7.984 kB / 465 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.09169, allocations: 143.8 kB / 465.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009373/0.09264, allocations: 1.35 MB / 466.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.09286, allocations: 23.92 kB / 466.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.09289, allocations: 12 kB / 466.5 MB, free: 10.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.09303, allocations: 165.7 kB / 466.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.0931, allocations: 39.53 kB / 466.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.09358, allocations: 321.8 kB / 467 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.0936, allocations: 4 kB / 467.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.0936, allocations: 0 / 467.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.09361, allocations: 0 / 467.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.09454, allocations: 0.799 MB / 467.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.09455, allocations: 3.984 kB / 467.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.09492, allocations: 79.91 kB / 467.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.09493, allocations: 4 kB / 467.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.09495, allocations: 7.984 kB / 467.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.09496, allocations: 4 kB / 467.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.09497, allocations: 0 / 467.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.0956, allocations: 0.5149 MB / 468.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.09574, allocations: 136.6 kB / 468.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.09579, allocations: 15.94 kB / 468.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.096, allocations: 8 kB / 468.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.09605, allocations: 28.14 kB / 468.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.09607, allocations: 8 kB / 468.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.09632, allocations: 271.1 kB / 468.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09633, allocations: 0 / 468.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.09666, allocations: 84 kB / 469 MB, free: 8.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.678e-05/0.09675, allocations: 105.4 kB / 469.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005314/0.09729, allocations: 276.6 kB / 469.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0973, allocations: 0 / 469.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.0975, allocations: 135.7 kB / 469.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.09802, allocations: 77.45 kB / 469.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.09978, allocations: 1.435 MB / 471 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1001, allocations: 0.8228 MB / 471.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1002, allocations: 35.42 kB / 471.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1002, allocations: 0 / 471.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of Templates: time 0.006294/0.1065, allocations: 5.337 MB / 477.2 MB, free: 15.95 MB / 366.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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 OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7CalcHelperMain.o] Error 1