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.0009087/0.0009087, allocations: 92.34 kB / 17.95 MB, free: 5.629 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.0008682/0.0008683, allocations: 176.9 kB / 18.86 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.988/1.988, allocations: 205.4 MB / 225 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.0005239/0.0005239, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1462, allocations: 47.59 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004065/0.1503, allocations: 2.352 MB / 332 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1523, allocations: 0.6944 MB / 332.7 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.1528, allocations: 7.938 kB / 332.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1532, allocations: 27.77 kB / 332.7 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.1536, allocations: 67.45 kB / 332.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.1543, allocations: 87.83 kB / 332.8 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008286/0.1551, allocations: 342.5 kB / 333.2 MB, free: 164 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.1555, allocations: 73.16 kB / 333.3 MB, free: 96 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.156, allocations: 127.5 kB / 333.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.1563, allocations: 139.4 kB / 333.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.1564, allocations: 16 kB / 333.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.55e-05/0.1565, allocations: 12 kB / 333.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.1566, allocations: 59.73 kB / 333.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.1568, allocations: 153.1 kB / 333.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.1573, allocations: 235.6 kB / 334 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.706e-05/0.1574, allocations: 8 kB / 334 MB, free: 15.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1574, allocations: 3.938 kB / 334 MB, free: 15.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.1574, allocations: 0 / 334 MB, free: 15.35 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.001808/0.1592, allocations: 0.6159 MB / 334.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/0.1593, allocations: 8.031 kB / 334.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.1595, allocations: 28.66 kB / 334.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.1601, allocations: 256.7 kB / 334.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.1601, allocations: 16.81 kB / 334.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.1602, allocations: 16.38 kB / 334.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.1611, allocations: 310.9 kB / 335.2 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1611, allocations: 3.938 kB / 335.2 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.1612, allocations: 15.98 kB / 335.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.1612, allocations: 11.94 kB / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.1621, allocations: 285.6 kB / 335.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.1644, allocations: 1.073 MB / 336.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.1664, allocations: 482.3 kB / 337.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.1669, allocations: 152.8 kB / 337.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.167, allocations: 4 kB / 337.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.279e-05/0.1671, allocations: 42.5 kB / 337.3 MB, free: 11.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.956e-06/0.1671, allocations: 0 / 337.3 MB, free: 11.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.005497/0.1726, allocations: 1.128 MB / 338.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.1727, allocations: 51.41 kB / 338.5 MB, free: 10.63 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.1731, allocations: 224.1 kB / 338.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.1732, allocations: 29.7 kB / 338.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1733, allocations: 164 kB / 338.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.1734, allocations: 43.36 kB / 338.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.1735, allocations: 21.7 kB / 338.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1737, allocations: 330.8 kB / 339.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.1741, allocations: 111.9 kB / 339.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.1745, allocations: 137.6 kB / 339.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/0.1752, allocations: 244.9 kB / 339.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.1752, allocations: 0 / 339.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003064/0.1783, allocations: 0.7007 MB / 340.4 MB, free: 8.594 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.1783, allocations: 4 kB / 340.4 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1784, allocations: 4 kB / 340.4 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/0.1793, allocations: 240.6 kB / 340.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.1796, allocations: 31.98 kB / 340.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007383/0.187, allocations: 2.61 MB / 343.3 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.1874, allocations: 39.97 kB / 343.4 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1874, allocations: 7.984 kB / 343.4 MB, free: 5.523 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.0004083/0.1878, allocations: 137.7 kB / 343.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.1879, allocations: 23.75 kB / 343.5 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.188, allocations: 21.52 kB / 343.5 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.188, allocations: 7.938 kB / 343.6 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.188, allocations: 3.938 kB / 343.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.188, allocations: 0 / 343.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.1886, allocations: 329.4 kB / 343.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1886, allocations: 0 / 343.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.1888, allocations: 31.92 kB / 343.9 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007348/0.1896, allocations: 232.7 kB / 344.1 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.1896, allocations: 11.98 kB / 344.1 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00711/0.1967, allocations: 2.595 MB / 346.7 MB, free: 1.945 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1968, allocations: 0 / 346.7 MB, free: 1.945 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/0.2003, allocations: 0.9141 MB / 347.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.2004, allocations: 100.9 kB / 347.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.2005, allocations: 7.938 kB / 347.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.2008, allocations: 35.97 kB / 347.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.2009, allocations: 11.98 kB / 347.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2009, allocations: 7.984 kB / 347.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.2011, allocations: 165.6 kB / 348 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2011, allocations: 0 / 348 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.2017, allocations: 75.84 kB / 348.1 MB, free: 0.5977 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.000267/0.202, allocations: 103.4 kB / 348.2 MB, free: 496 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.2038, allocations: 482.3 kB / 348.6 MB, free: 0 / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.2038, allocations: 0 / 348.6 MB, free: 0 / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.205, allocations: 354.6 kB / 349 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.2055, allocations: 32.66 kB / 349 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2072, allocations: 0.7158 MB / 349.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.2077, allocations: 0.744 MB / 350.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.2078, allocations: 15.44 kB / 350.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of SimCode: time 1.143e-06/0.2078, allocations: 0 / 350.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of Templates: time 0.008908/0.2167, allocations: 4.058 MB / 354.5 MB, free: 10.02 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