Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 95.08 kB / 16.95 MB, free: 5.66 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.0008887/0.0008887, allocations: 187.5 kB / 17.85 MB, free: 5.312 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.893/1.893, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3834/0.3834, allocations: 48.77 MB / 321.1 MB, free: 11.23 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.0005461/0.0005462, allocations: 16.48 kB / 391.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 60.26 MB / 452.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002867/0.1392, allocations: 2.023 MB / 454.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1404, allocations: 0.6362 MB / 454.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1405, allocations: 7.938 kB / 454.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.1407, allocations: 23.78 kB / 454.7 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.141, allocations: 75.39 kB / 454.8 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.1411, allocations: 47.89 kB / 454.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.1414, allocations: 262.8 kB / 455.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1416, allocations: 56.7 kB / 455.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1418, allocations: 103.4 kB / 455.3 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.142, allocations: 99.48 kB / 455.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.142, allocations: 12 kB / 455.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.478e-05/0.1421, allocations: 12 kB / 455.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.1421, allocations: 35.84 kB / 455.4 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.1422, allocations: 69.52 kB / 455.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1424, allocations: 159.8 kB / 455.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1424, allocations: 8 kB / 455.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1424, allocations: 0 / 455.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1424, allocations: 0 / 455.7 MB, free: 5.91 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000854/0.1433, allocations: 0.5295 MB / 456.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1433, allocations: 8.031 kB / 456.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1435, allocations: 31.62 kB / 456.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1438, allocations: 257.6 kB / 456.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.1439, allocations: 37.7 kB / 456.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.1439, allocations: 20 kB / 456.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.1443, allocations: 190.8 kB / 456.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1443, allocations: 0 / 456.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1443, allocations: 8 kB / 456.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1443, allocations: 4 kB / 456.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1446, allocations: 139.8 kB / 456.9 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009793/0.1456, allocations: 0.6734 MB / 457.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.146, allocations: 146.6 kB / 457.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.1462, allocations: 92.86 kB / 457.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1462, allocations: 0 / 457.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1462, allocations: 38.52 kB / 457.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.1462, allocations: 0 / 457.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.001154/0.1474, allocations: 0.6089 MB / 458.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1475, allocations: 55.36 kB / 458.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.1477, allocations: 237 kB / 458.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1477, allocations: 33.7 kB / 458.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.1478, allocations: 148.3 kB / 458.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.1479, allocations: 67 kB / 459 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.1479, allocations: 8 kB / 459 MB, free: 2.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1481, allocations: 330.8 kB / 459.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1482, allocations: 67.91 kB / 459.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1484, allocations: 85.61 kB / 459.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1485, allocations: 75.84 kB / 459.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.1486, allocations: 0 / 459.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003699/0.1489, allocations: 217.1 kB / 459.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.149, allocations: 8 kB / 459.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.149, allocations: 4.031 kB / 459.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.149, allocations: 0 / 459.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.1494, allocations: 79.89 kB / 459.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1494, allocations: 3.953 kB / 459.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1495, allocations: 15.98 kB / 459.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1495, allocations: 4 kB / 459.8 MB, free: 1.449 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.1497, allocations: 141.8 kB / 460 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.1497, allocations: 19.72 kB / 460 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.1498, allocations: 26.17 kB / 460 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1498, allocations: 4 kB / 460 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1498, allocations: 0 / 460 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1498, allocations: 3.953 kB / 460 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.1506, allocations: 0.553 MB / 460.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1506, allocations: 0 / 460.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.1509, allocations: 67.89 kB / 460.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.151, allocations: 0 / 460.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.151, allocations: 4 kB / 460.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.151, allocations: 8 kB / 460.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.151, allocations: 3.953 kB / 460.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005659/0.1516, allocations: 371.4 kB / 461 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.1517, allocations: 108.9 kB / 461.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.1517, allocations: 0 / 461.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1519, allocations: 15.98 kB / 461.1 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.1519, allocations: 11.94 kB / 461.2 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.152, allocations: 8 kB / 461.2 MB, free: 24 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1521, allocations: 168.5 kB / 461.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1521, allocations: 7.938 kB / 461.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1524, allocations: 48 kB / 461.4 MB, free: 15.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001113/0.1526, allocations: 95.23 kB / 461.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.1529, allocations: 155.8 kB / 461.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1529, allocations: 4 kB / 461.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1531, allocations: 75.91 kB / 461.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.1535, allocations: 48.3 kB / 461.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1548, allocations: 0.8163 MB / 462.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1552, allocations: 0.752 MB / 463.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.1553, allocations: 19.44 kB / 463.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1553, allocations: 4 kB / 463.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Templates: time 0.004527/0.1598, allocations: 2.532 MB / 465.9 MB, free: 11.23 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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 OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3CalcHelperMain.o] Error 1