Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_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.001479/0.001487, 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.001279/0.001279, 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 1.864/1.864, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001304/0.001304, allocations: 48.3 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1255, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004193/0.1298, allocations: 2.718 MB / 330 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1312, allocations: 0.6982 MB / 330.7 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1313, allocations: 4 kB / 330.7 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.1316, allocations: 31.77 kB / 330.7 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.1317, allocations: 67.39 kB / 330.8 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.132, allocations: 87.91 kB / 330.9 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1324, allocations: 342.5 kB / 331.2 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.1326, allocations: 73.14 kB / 331.3 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1328, allocations: 131.5 kB / 331.4 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.133, allocations: 155.3 kB / 331.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.133, allocations: 20 kB / 331.6 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.961e-05/0.1331, allocations: 24 kB / 331.6 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.1332, allocations: 51.75 kB / 331.6 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1333, allocations: 135.3 kB / 331.8 MB, free: 372 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1336, allocations: 251.6 kB / 332 MB, free: 120 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1336, allocations: 3.938 kB / 332 MB, free: 116 kB / 270.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1336, allocations: 0 / 332 MB, free: 116 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1336, allocations: 0 / 332 MB, free: 116 kB / 270.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.001576/0.1352, allocations: 0.6393 MB / 332.7 MB, free: 15.42 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1352, allocations: 8.031 kB / 332.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.762e-05/0.1353, allocations: 32.56 kB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1357, allocations: 256.8 kB / 332.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1357, allocations: 12.81 kB / 333 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.1358, allocations: 24.31 kB / 333 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/0.1365, allocations: 302.9 kB / 333.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1365, allocations: 4 kB / 333.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.1366, allocations: 11.98 kB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1366, allocations: 4 kB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.1374, allocations: 273.5 kB / 333.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.1393, allocations: 1.062 MB / 334.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.1414, allocations: 438.2 kB / 335.1 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.1418, allocations: 152.8 kB / 335.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.1419, allocations: 0 / 335.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1419, allocations: 34.5 kB / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.404e-06/0.1419, allocations: 0 / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.005268/0.1472, allocations: 1.03 MB / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1473, allocations: 55.41 kB / 336.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.1476, allocations: 216.1 kB / 336.5 MB, free: 11.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.1476, allocations: 29.7 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1478, allocations: 160.1 kB / 336.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.1478, allocations: 47.27 kB / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.1479, allocations: 33.7 kB / 336.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1481, allocations: 330.8 kB / 337.1 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.1485, allocations: 107.9 kB / 337.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.1488, allocations: 129.6 kB / 337.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.1495, allocations: 224.7 kB / 337.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1495, allocations: 0 / 337.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002957/0.1525, allocations: 0.6383 MB / 338.2 MB, free: 9.613 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.1525, allocations: 4 kB / 338.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1526, allocations: 4 kB / 338.2 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007791/0.1534, allocations: 212.7 kB / 338.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1535, allocations: 43.91 kB / 338.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007027/0.1606, allocations: 2.489 MB / 341 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.161, allocations: 39.84 kB / 341 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.161, allocations: 4 kB / 341 MB, free: 6.684 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.1612, allocations: 137.8 kB / 341.1 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.1613, allocations: 27.66 kB / 341.2 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.1613, allocations: 25.52 kB / 341.2 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1613, allocations: 4 kB / 341.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1614, allocations: 0 / 341.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1614, allocations: 0 / 341.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.1618, allocations: 321.5 kB / 341.5 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1618, allocations: 4 kB / 341.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.162, allocations: 35.91 kB / 341.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006864/0.1627, allocations: 224.5 kB / 341.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1627, allocations: 4 kB / 341.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/0.1694, allocations: 2.478 MB / 344.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1694, allocations: 0 / 344.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/0.1727, allocations: 0.8477 MB / 345.1 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.1729, allocations: 92.89 kB / 345.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.1729, allocations: 7.938 kB / 345.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.1732, allocations: 36.03 kB / 345.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.1733, allocations: 12.02 kB / 345.2 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.1733, allocations: 8 kB / 345.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1735, allocations: 161.6 kB / 345.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1735, allocations: 0 / 345.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.174, allocations: 79.84 kB / 345.5 MB, free: 1.965 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.1742, allocations: 107.2 kB / 345.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.1758, allocations: 442.4 kB / 346 MB, free: 1.402 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1758, allocations: 4.062 kB / 346 MB, free: 1.398 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.1769, allocations: 330.5 kB / 346.3 MB, free: 1.062 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.1773, allocations: 35.88 kB / 346.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1789, allocations: 0.6623 MB / 347 MB, free: 352 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.1793, allocations: 0.7478 MB / 347.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.1793, allocations: 15.44 kB / 347.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1794, allocations: 4 kB / 347.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Templates: time 0.006759/0.1861, allocations: 4.079 MB / 351.9 MB, free: 11.47 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.o] Error 1