Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008183/0.0008184, allocations: 94.64 kB / 16.34 MB, free: 5.949 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.0008962/0.0008962, allocations: 187.2 kB / 17.23 MB, free: 5.879 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.427/1.427, allocations: 205.4 MB / 223.4 MB, free: 5.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05641/0.05641, allocations: 14.17 MB / 285.8 MB, free: 7.312 MB / 238.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.0005599/0.0005599, allocations: 12 kB / 349.4 MB, free: 17.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 51.13 MB / 400.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002055/0.1123, allocations: 1.667 MB / 402.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1136, allocations: 0.8157 MB / 403.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1137, allocations: 11.94 kB / 403.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.1139, allocations: 43.75 kB / 403.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1141, allocations: 59.67 kB / 403.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.1146, allocations: 187.3 kB / 403.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.1149, allocations: 251.3 kB / 403.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.115, allocations: 64.64 kB / 403.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1151, allocations: 95.55 kB / 403.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1153, allocations: 119.4 kB / 403.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.1154, allocations: 19.94 kB / 403.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1155, allocations: 75.92 kB / 404 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.1156, allocations: 39.78 kB / 404 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.1156, allocations: 65.58 kB / 404.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.1159, allocations: 227.5 kB / 404.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1159, allocations: 0 / 404.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1159, allocations: 0 / 404.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1159, allocations: 0 / 404.3 MB, free: 10.98 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008154/0.1168, allocations: 0.5857 MB / 404.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1168, allocations: 12.03 kB / 404.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.1169, allocations: 35.62 kB / 404.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1172, allocations: 294.4 kB / 405.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1172, allocations: 12 kB / 405.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.1173, allocations: 20 kB / 405.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.1179, allocations: 313.3 kB / 405.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1179, allocations: 4 kB / 405.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.118, allocations: 12 kB / 405.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.118, allocations: 4 kB / 405.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.1186, allocations: 260.2 kB / 405.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1198, allocations: 0.9943 MB / 406.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/0.1206, allocations: 337 kB / 407.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.1209, allocations: 173.7 kB / 407.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.121, allocations: 4 kB / 407.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005688/0.1215, allocations: 259.2 kB / 407.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.1215, allocations: 0 / 407.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001164/0.1227, allocations: 0.5213 MB / 408.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.1228, allocations: 162.2 kB / 408.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1231, allocations: 254.7 kB / 408.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1231, allocations: 33.7 kB / 408.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1232, allocations: 160.3 kB / 408.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.1233, allocations: 82.98 kB / 408.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.1233, allocations: 4 kB / 408.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1235, allocations: 338.9 kB / 409.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.1238, allocations: 135.9 kB / 409.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1242, allocations: 217.4 kB / 409.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.1246, allocations: 165.7 kB / 409.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1246, allocations: 4 kB / 409.6 MB, free: 5.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00178/0.1264, allocations: 0.7851 MB / 410.4 MB, free: 4.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.1265, allocations: 163 kB / 410.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1265, allocations: 0 / 410.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.127, allocations: 197.5 kB / 410.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.1272, allocations: 35.97 kB / 410.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004743/0.132, allocations: 3.803 MB / 414.6 MB, free: 0 / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.1322, allocations: 59.89 kB / 414.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1323, allocations: 12 kB / 414.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.1323, allocations: 8.062 kB / 414.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005004/0.1328, allocations: 297.3 kB / 415 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.1328, allocations: 0 / 415 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.1328, allocations: 4.188 kB / 415 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.133, allocations: 59.89 kB / 415 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.1331, allocations: 4.156 kB / 415 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.1332, allocations: 35.73 kB / 415.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1332, allocations: 8 kB / 415.1 MB, free: 15.51 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002311/0.1335, allocations: 270.5 kB / 415.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.1335, allocations: 31.67 kB / 415.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.1336, allocations: 30.17 kB / 415.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1336, allocations: 4 kB / 415.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1337, allocations: 4 kB / 415.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1337, allocations: 0 / 415.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.134, allocations: 337.2 kB / 415.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.134, allocations: 0 / 415.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.1343, allocations: 59.94 kB / 415.8 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1343, allocations: 11.89 kB / 415.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.1343, allocations: 8 kB / 415.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.1343, allocations: 4 kB / 415.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1344, allocations: 0 / 415.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/0.1401, allocations: 3.593 MB / 419.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.1402, allocations: 108.7 kB / 419.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.1402, allocations: 11.94 kB / 419.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.1404, allocations: 40.03 kB / 419.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.1405, allocations: 27.94 kB / 419.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.1406, allocations: 12 kB / 419.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1407, allocations: 189.9 kB / 419.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 0 / 419.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000756/0.1415, allocations: 155.8 kB / 419.9 MB, free: 10.39 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.I.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002169/0.1417, allocations: 135.1 kB / 420.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.1434, allocations: 0.9451 MB / 421 MB, free: 9.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1434, allocations: 384 / 421 MB, free: 9.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.1438, allocations: 251.2 kB / 421.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1442, allocations: 61.45 kB / 421.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1455, allocations: 0.8691 MB / 422.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.1459, allocations: 0.7717 MB / 423 MB, free: 7.211 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.146, allocations: 19.44 kB / 423 MB, free: 7.191 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.146, allocations: 0 / 423 MB, free: 7.191 MB / 318.1 MB Notification: Performance of Templates: time 0.007313/0.1533, allocations: 4.951 MB / 427.9 MB, free: 2.234 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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 OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiterCalcHelperMain.o] Error 1