Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 96.81 kB / 17.63 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 201.1 kB / 18.54 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.737/1.737, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002544/0.0002544, allocations: 12 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1462, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003123/0.1494, allocations: 2.296 MB / 361.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1507, allocations: 0.6781 MB / 361.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1509, allocations: 4 kB / 361.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.1511, allocations: 43.69 kB / 361.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.1512, allocations: 59.47 kB / 361.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1516, allocations: 79.83 kB / 362 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.152, allocations: 318.6 kB / 362.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.1522, allocations: 80.86 kB / 362.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1525, allocations: 119.6 kB / 362.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1527, allocations: 139.5 kB / 362.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.1528, allocations: 16 kB / 362.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.1529, allocations: 24 kB / 362.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.1529, allocations: 47.75 kB / 362.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.153, allocations: 73.58 kB / 362.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.1533, allocations: 247.5 kB / 363 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.1533, allocations: 0 / 363 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1534, allocations: 4 kB / 363 MB, free: 9.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1534, allocations: 0 / 363 MB, free: 9.688 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.001623/0.155, allocations: 0.6119 MB / 363.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1551, allocations: 8.031 kB / 363.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.1553, allocations: 43.7 kB / 363.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.1556, allocations: 251.5 kB / 363.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1556, allocations: 20.38 kB / 363.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.1557, allocations: 19.98 kB / 363.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.1564, allocations: 310.5 kB / 364.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1564, allocations: 0 / 364.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1564, allocations: 8 kB / 364.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.1565, allocations: 4 kB / 364.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.1572, allocations: 293.5 kB / 364.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.1591, allocations: 1.073 MB / 365.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.1609, allocations: 482.2 kB / 366.1 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.1613, allocations: 160.8 kB / 366.2 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1613, allocations: 0 / 366.2 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1614, allocations: 42.5 kB / 366.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1614, allocations: 0 / 366.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.004856/0.1663, allocations: 1.127 MB / 367.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1664, allocations: 59.41 kB / 367.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.1667, allocations: 212.2 kB / 367.7 MB, free: 4.738 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.1667, allocations: 29.7 kB / 367.7 MB, free: 4.703 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1669, allocations: 167.9 kB / 367.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.1669, allocations: 43.36 kB / 367.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.167, allocations: 0 / 367.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.1672, allocations: 334.8 kB / 368.2 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.1676, allocations: 119.8 kB / 368.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.168, allocations: 133.6 kB / 368.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.1684, allocations: 116 kB / 368.6 MB, free: 3.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1684, allocations: 0 / 368.6 MB, free: 3.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002848/0.1713, allocations: 0.6953 MB / 369.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.1713, allocations: 8 kB / 369.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1713, allocations: 0 / 369.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008134/0.1721, allocations: 236.6 kB / 369.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.1723, allocations: 31.98 kB / 369.6 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007378/0.1797, allocations: 2.618 MB / 372.2 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.1801, allocations: 35.91 kB / 372.2 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1802, allocations: 16.05 kB / 372.2 MB, free: 8 kB / 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.2499/0.4301, allocations: 122.6 kB / 372.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4302, allocations: 18.84 kB / 372.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.585e-05/0.4303, allocations: 22.44 kB / 372.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.4303, allocations: 3.203 kB / 372.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4303, allocations: 3.781 kB / 372.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4303, allocations: 0.75 kB / 372.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.4308, allocations: 321.9 kB / 372.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4308, allocations: 1.125 kB / 372.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.4311, allocations: 31.12 kB / 372.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/0.4319, allocations: 236.1 kB / 373 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.4319, allocations: 8.016 kB / 373 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/0.4383, allocations: 2.602 MB / 375.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4383, allocations: 1.219 kB / 375.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.4417, allocations: 0.903 MB / 376.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.4418, allocations: 101.2 kB / 376.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.4419, allocations: 5.312 kB / 376.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.4421, allocations: 35.09 kB / 376.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.4422, allocations: 18.97 kB / 376.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.4423, allocations: 5.281 kB / 376.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.4424, allocations: 159.7 kB / 376.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4424, allocations: 2.062 kB / 376.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.443, allocations: 85.8 kB / 376.9 MB, free: 18.2 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.0001567/0.4431, allocations: 100.3 kB / 377 MB, free: 18.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.4448, allocations: 471.3 kB / 377.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4448, allocations: 0 / 377.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.446, allocations: 356.3 kB / 377.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.4464, allocations: 37.7 kB / 377.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.448, allocations: 0.6925 MB / 378.5 MB, free: 17.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.4483, allocations: 0.7449 MB / 379.3 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.4483, allocations: 17.91 kB / 379.3 MB, free: 16.69 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4483, allocations: 0 / 379.3 MB, free: 16.69 MB / 302.1 MB Notification: Performance of Templates: time 0.009553/0.4579, allocations: 4.06 MB / 383.4 MB, free: 16.38 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtectionCalcHelperMain.o] Error 1