Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) 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(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008243, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 175.4 kB / 16.58 MB, free: 6.031 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.512/1.512, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9991/0.9991, allocations: 135.3 MB / 427 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 15.98 kB / 0.5076 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 82.32 MB / 0.588 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.00179/0.2112, allocations: 1.14 MB / 0.5891 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.2115, allocations: 94.28 kB / 0.5892 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.2115, allocations: 4 kB / 0.5892 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.2116, allocations: 3.938 kB / 0.5892 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.2116, allocations: 0 / 0.5892 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.2118, allocations: 11.98 kB / 0.5892 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.2119, allocations: 19.92 kB / 0.5892 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.212, allocations: 11.98 kB / 0.5892 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.2121, allocations: 7.938 kB / 0.5892 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.2122, allocations: 19.91 kB / 0.5893 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2122, allocations: 0 / 0.5893 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.425e-05/0.2122, allocations: 15.98 kB / 0.5893 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.2123, allocations: 8 kB / 0.5893 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.2123, allocations: 25.7 kB / 0.5893 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.317e-05/0.2124, allocations: 23.95 kB / 0.5893 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2124, allocations: 0 / 0.5893 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2124, allocations: 0 / 0.5893 GB, free: 1.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2124, allocations: 0 / 0.5893 GB, free: 1.609 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000492/0.2129, allocations: 339.5 kB / 0.5897 GB, free: 1.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.213, allocations: 19.97 kB / 0.5897 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.2132, allocations: 11.98 kB / 0.5897 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2133, allocations: 170.9 kB / 0.5899 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.2133, allocations: 7.938 kB / 0.5899 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2134, allocations: 0 / 0.5899 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2136, allocations: 69.66 kB / 0.5899 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2136, allocations: 0 / 0.5899 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2136, allocations: 0 / 0.5899 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2136, allocations: 0 / 0.5899 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.2138, allocations: 63.95 kB / 0.59 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.2143, allocations: 264.9 kB / 0.5902 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.2144, allocations: 66.48 kB / 0.5903 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2146, allocations: 40.89 kB / 0.5903 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2146, allocations: 0 / 0.5903 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.2146, allocations: 30.56 kB / 0.5904 GB, free: 392 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2147, allocations: 7.938 kB / 0.5904 GB, free: 384 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004058/0.2151, allocations: 121.7 kB / 0.5905 GB, free: 256 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2151, allocations: 59.34 kB / 0.5906 GB, free: 184 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.2152, allocations: 105.8 kB / 0.5907 GB, free: 68 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.2152, allocations: 25.7 kB / 0.5907 GB, free: 36 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.2153, allocations: 84.12 kB / 0.5908 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.2153, allocations: 7.844 kB / 0.5908 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.2153, allocations: 0 / 0.5908 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2155, allocations: 330.8 kB / 0.5911 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2156, allocations: 27.98 kB / 0.5911 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-05/0.2157, allocations: 31.97 kB / 0.5911 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2158, allocations: 28.05 kB / 0.5912 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2158, allocations: 0 / 0.5912 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002398/0.2161, allocations: 97.64 kB / 0.5913 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2161, allocations: 4 kB / 0.5913 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2161, allocations: 0 / 0.5913 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2161, allocations: 0 / 0.5913 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2162, allocations: 15.98 kB / 0.5913 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2163, allocations: 3.938 kB / 0.5913 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.2163, allocations: 16.02 kB / 0.5913 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2163, allocations: 0 / 0.5913 GB, free: 15.38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.2164, allocations: 117.8 kB / 0.5914 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.2165, allocations: 3.906 kB / 0.5914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.2165, allocations: 3.531 kB / 0.5914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.2165, allocations: 0 / 0.5914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2165, allocations: 4 kB / 0.5914 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2165, allocations: 3.984 kB / 0.5914 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2167, allocations: 173.5 kB / 0.5916 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2167, allocations: 0 / 0.5916 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.2168, allocations: 16.23 kB / 0.5916 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2168, allocations: 0 / 0.5916 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2168, allocations: 4 kB / 0.5916 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2168, allocations: 0 / 0.5916 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2168, allocations: 4 kB / 0.5916 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.2171, allocations: 187.5 kB / 0.5918 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.2172, allocations: 88.94 kB / 0.5919 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.2172, allocations: 11.97 kB / 0.5919 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.2173, allocations: 15.97 kB / 0.5919 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.2174, allocations: 4 kB / 0.5919 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2174, allocations: 0 / 0.5919 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.2174, allocations: 79.28 kB / 0.592 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2174, allocations: 0 / 0.592 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002087/0.2176, allocations: 8 kB / 0.592 GB, free: 14.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.2178, allocations: 103.2 kB / 0.5921 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.218, allocations: 63.95 kB / 0.5922 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.218, allocations: 64 / 0.5922 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.2181, allocations: 35.97 kB / 0.5922 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2184, allocations: 7.953 kB / 0.5922 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.2188, allocations: 162.4 kB / 0.5923 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.2191, allocations: 0.677 MB / 0.593 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.2192, allocations: 7.438 kB / 0.593 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2192, allocations: 0 / 0.593 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.002252/0.2214, allocations: 0.6177 MB / 0.5936 GB, free: 12.84 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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 OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o] Error 1