Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 88.27 kB / 16.95 MB, free: 5.953 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.001116/0.001116, allocations: 181.5 kB / 17.84 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 223.2 MB / 241.9 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.000484, allocations: 11.98 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1624, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003097/0.1656, allocations: 2.274 MB / 354.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1669, allocations: 0.6469 MB / 354.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1671, allocations: 7.938 kB / 354.8 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.1673, allocations: 27.77 kB / 354.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1674, allocations: 71.45 kB / 354.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1677, allocations: 71.86 kB / 355 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.168, allocations: 322.6 kB / 355.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.1683, allocations: 69 kB / 355.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1685, allocations: 119.6 kB / 355.5 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1687, allocations: 139.5 kB / 355.6 MB, free: 272 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.1687, allocations: 20 kB / 355.6 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.1688, allocations: 16 kB / 355.6 MB, free: 236 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1688, allocations: 55.69 kB / 355.7 MB, free: 180 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.1689, allocations: 69.58 kB / 355.7 MB, free: 104 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1692, allocations: 243.6 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1692, allocations: 0 / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1692, allocations: 0 / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1692, allocations: 0 / 356 MB, free: 15.86 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001413/0.1706, allocations: 0.6119 MB / 356.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1707, allocations: 8.031 kB / 356.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.1708, allocations: 35.67 kB / 356.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.1711, allocations: 255.5 kB / 356.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1712, allocations: 12.44 kB / 356.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.1712, allocations: 27.98 kB / 356.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.1719, allocations: 306.6 kB / 357.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1719, allocations: 0 / 357.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.172, allocations: 8 kB / 357.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.172, allocations: 11.94 kB / 357.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.1727, allocations: 285.5 kB / 357.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.1746, allocations: 1.077 MB / 358.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.1764, allocations: 490.3 kB / 359.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.1768, allocations: 152.8 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.1768, allocations: 7.984 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1768, allocations: 34.56 kB / 359.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.335e-06/0.1768, allocations: 0 / 359.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.004704/0.1816, allocations: 1.128 MB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1816, allocations: 55.41 kB / 360.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.1819, allocations: 212.2 kB / 360.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.182, allocations: 25.7 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.1821, allocations: 168 kB / 360.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.1822, allocations: 47.36 kB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.1822, allocations: 4 kB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1824, allocations: 326.8 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.1827, allocations: 119.8 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.1831, allocations: 136.1 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.1834, allocations: 116 kB / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1834, allocations: 0 / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002677/0.1861, allocations: 0.703 MB / 362.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1861, allocations: 4 kB / 362.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1862, allocations: 0 / 362.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007255/0.1869, allocations: 240.5 kB / 362.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.1871, allocations: 35.98 kB / 362.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/0.1934, allocations: 2.609 MB / 365.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.1938, allocations: 39.83 kB / 365.2 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.1938, allocations: 7.984 kB / 365.2 MB, free: 6.203 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.194, allocations: 133.9 kB / 365.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.194, allocations: 19.75 kB / 365.4 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.1941, allocations: 29.52 kB / 365.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1941, allocations: 0 / 365.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1941, allocations: 0 / 365.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1941, allocations: 0 / 365.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1946, allocations: 333.2 kB / 365.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1946, allocations: 0 / 365.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.1948, allocations: 27.98 kB / 365.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.1959, allocations: 232.7 kB / 366 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.196, allocations: 7.984 kB / 366 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006159/0.2021, allocations: 2.603 MB / 368.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2022, allocations: 0 / 368.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.2053, allocations: 0.9098 MB / 369.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2054, allocations: 104.9 kB / 369.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.2055, allocations: 3.953 kB / 369.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.2058, allocations: 44.03 kB / 369.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.2058, allocations: 7.984 kB / 369.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.2059, allocations: 7.984 kB / 369.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.206, allocations: 157.6 kB / 369.8 MB, free: 1.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.206, allocations: 0 / 369.8 MB, free: 1.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000538/0.2066, allocations: 79.84 kB / 369.9 MB, free: 1.289 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * 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 (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.2068, allocations: 115.1 kB / 370 MB, free: 1.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.2083, allocations: 466.5 kB / 370.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2083, allocations: 4.062 kB / 370.5 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.2094, allocations: 358.4 kB / 370.8 MB, free: 340 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.2098, allocations: 35 kB / 370.9 MB, free: 308 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2179/0.4277, allocations: 0.6813 MB / 371.5 MB, free: 24.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.4282, allocations: 0.7409 MB / 372.3 MB, free: 24.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4283, allocations: 17.12 kB / 372.3 MB, free: 24.26 MB / 302.1 MB Notification: Performance of SimCode: time 2.104e-06/0.4283, allocations: 1.969 kB / 372.3 MB, free: 24.26 MB / 302.1 MB Notification: Performance of Templates: time 0.01076/0.4391, allocations: 4.046 MB / 376.3 MB, free: 24.15 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.o] Error 1