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.0008698/0.0008698, allocations: 89.95 kB / 17.58 MB, free: 5.801 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.0008323/0.0008324, allocations: 182.3 kB / 18.48 MB, free: 5.254 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.706/1.706, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004735/0.0004736, allocations: 15.98 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 47.59 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002893/0.1166, allocations: 2.26 MB / 331.2 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.118, allocations: 0.6713 MB / 331.9 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.1182, allocations: 4 kB / 331.9 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.1184, allocations: 35.7 kB / 332 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1185, allocations: 67.45 kB / 332 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1189, allocations: 71.89 kB / 332.1 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.1193, allocations: 314.6 kB / 332.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.1195, allocations: 73.12 kB / 332.5 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.1198, allocations: 115.6 kB / 332.6 MB, free: 448 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.12, allocations: 139.5 kB / 332.7 MB, free: 308 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.12, allocations: 19.94 kB / 332.7 MB, free: 288 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.353e-05/0.1201, allocations: 20 kB / 332.8 MB, free: 268 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.1202, allocations: 47.81 kB / 332.8 MB, free: 220 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.1202, allocations: 73.52 kB / 332.9 MB, free: 140 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.1206, allocations: 243.6 kB / 333.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.1206, allocations: 4 kB / 333.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1206, allocations: 0 / 333.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1206, allocations: 0 / 333.1 MB, free: 15.89 MB / 286.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.001528/0.1221, allocations: 0.6158 MB / 333.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.1222, allocations: 8.031 kB / 333.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.215e-05/0.1223, allocations: 27.72 kB / 333.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.1227, allocations: 255.5 kB / 334 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1227, allocations: 16.39 kB / 334 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.1228, allocations: 20 kB / 334.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.1235, allocations: 306.6 kB / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1235, allocations: 4 kB / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.1235, allocations: 8 kB / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1235, allocations: 8 kB / 334.4 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.1243, allocations: 277.6 kB / 334.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.126, allocations: 1.085 MB / 335.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.1278, allocations: 486.3 kB / 336.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.1282, allocations: 164.6 kB / 336.4 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1283, allocations: 8 kB / 336.4 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1283, allocations: 30.56 kB / 336.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.1283, allocations: 3.938 kB / 336.4 MB, free: 12.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.004495/0.1328, allocations: 1.116 MB / 337.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.1329, allocations: 59.34 kB / 337.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.1331, allocations: 209.6 kB / 337.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1332, allocations: 29.7 kB / 337.8 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.1333, allocations: 168 kB / 338 MB, free: 10.76 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.1334, allocations: 47.36 kB / 338 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.1334, allocations: 4 kB / 338 MB, free: 10.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1335, allocations: 334.8 kB / 338.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.1339, allocations: 115.8 kB / 338.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.1342, allocations: 133.6 kB / 338.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.1345, allocations: 115.2 kB / 338.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1345, allocations: 4 kB / 338.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002631/0.1372, allocations: 0.6892 MB / 339.4 MB, free: 9.309 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1372, allocations: 4 kB / 339.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1372, allocations: 0 / 339.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/0.1379, allocations: 232.7 kB / 339.6 MB, free: 9.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1381, allocations: 43.91 kB / 339.7 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/0.1441, allocations: 2.615 MB / 342.3 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.1445, allocations: 35.83 kB / 342.3 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.1445, allocations: 11.98 kB / 342.3 MB, free: 6.234 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 (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.0001721/0.1447, allocations: 125.8 kB / 342.5 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1447, allocations: 19.88 kB / 342.5 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.615e-05/0.1448, allocations: 33.47 kB / 342.5 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1448, allocations: 0 / 342.5 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1448, allocations: 0 / 342.5 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1448, allocations: 0 / 342.5 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.1452, allocations: 333.2 kB / 342.8 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1452, allocations: 0 / 342.8 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.1454, allocations: 31.92 kB / 342.9 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006134/0.146, allocations: 232.7 kB / 343.1 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.146, allocations: 11.94 kB / 343.1 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005717/0.1518, allocations: 2.591 MB / 345.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1518, allocations: 0 / 345.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.1547, allocations: 0.9137 MB / 346.6 MB, free: 1.738 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.1548, allocations: 100.8 kB / 346.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1549, allocations: 3.938 kB / 346.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.1551, allocations: 44.03 kB / 346.8 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1552, allocations: 7.984 kB / 346.8 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1552, allocations: 4 kB / 346.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1554, allocations: 160.5 kB / 346.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 0 / 346.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004639/0.1559, allocations: 79.84 kB / 347 MB, free: 1.328 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 (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.0001646/0.156, allocations: 103.2 kB / 347.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.1575, allocations: 479 kB / 347.6 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1575, allocations: 4.062 kB / 347.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.1585, allocations: 350.5 kB / 347.9 MB, free: 384 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1589, allocations: 40.84 kB / 348 MB, free: 344 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1602, allocations: 0.6928 MB / 348.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.1606, allocations: 0.744 MB / 349.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.1607, allocations: 15.44 kB / 349.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1607, allocations: 0 / 349.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Templates: time 0.006386/0.1671, allocations: 4.059 MB / 353.5 MB, free: 10.77 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++ 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_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