Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.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) 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(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 95.3 kB / 16.95 MB, free: 5.953 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.001503/0.001503, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.532/1.532, allocations: 223.2 MB / 241.9 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 4 kB / 301.4 MB, free: 6.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 50.43 MB / 351.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.3305/0.4567, allocations: 23.73 MB / 375.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.04095/0.4977, allocations: 20.51 MB / 396.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008469/0.5062, allocations: 59.94 kB / 396.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007554/0.5138, allocations: 1.289 MB / 397.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02244/0.5363, allocations: 2.624 MB / 400.1 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009404/0.5457, allocations: 1.244 MB / 401.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02647/0.5722, allocations: 11.83 MB / 413.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.5747, allocations: 0.7818 MB / 413.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.5796, allocations: 1.811 MB / 415.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005017/0.5847, allocations: 1.918 MB / 417.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.5855, allocations: 79.94 kB / 417.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008608/0.5941, allocations: 1.365 MB / 419.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.5956, allocations: 0.5078 MB / 419.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004471/0.6001, allocations: 1.17 MB / 420.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.6119, allocations: 4.774 MB / 425.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.612, allocations: 3.938 kB / 425.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.07e-06/0.612, allocations: 0 / 425.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004152/0.6124, allocations: 0 / 425.6 MB, free: 11.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.015/0.6275, allocations: 5.858 MB / 431.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/0.6275, allocations: 12.03 kB / 431.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/0.6301, allocations: 0.7371 MB / 432.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.6413, allocations: 4.312 MB / 436.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.6415, allocations: 66 kB / 436.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.6418, allocations: 111.8 kB / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.6448, allocations: 1.305 MB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.6448, allocations: 0 / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.6449, allocations: 40 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.645, allocations: 43.97 kB / 438 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.6479, allocations: 1.519 MB / 439.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.6613, allocations: 5.648 MB / 445.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.6631, allocations: 1.025 MB / 446.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.6648, allocations: 1.254 MB / 447.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05913/0.724, allocations: 59.85 MB / 0.4954 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.725, allocations: 0.5872 MB / 0.496 GB, free: 1.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=85): time 3.427e-06/0.7251, allocations: 0 / 0.496 GB, free: 1.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.003697/0.7288, allocations: 1.93 MB / 0.4979 GB, free: 15.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.7288, allocations: 71.94 kB / 0.498 GB, free: 15.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007605/0.7365, allocations: 5.519 MB / 0.5034 GB, free: 9.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.7367, allocations: 41.7 kB / 0.5034 GB, free: 9.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002581/0.7393, allocations: 2.935 MB / 0.5063 GB, free: 6.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004289/0.7397, allocations: 299.8 kB / 0.5066 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.7398, allocations: 28 kB / 0.5066 GB, free: 6.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.74, allocations: 373.7 kB / 0.5069 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/0.7409, allocations: 419.8 kB / 0.5073 GB, free: 5.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.7422, allocations: 1.103 MB / 0.5084 GB, free: 4.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009991/0.7432, allocations: 0.5763 MB / 0.509 GB, free: 3.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.7432, allocations: 4 kB / 0.509 GB, free: 3.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00426/0.7475, allocations: 2.238 MB / 0.5112 GB, free: 1.242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.7475, allocations: 16 kB / 0.5112 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002263/0.7477, allocations: 160 kB / 0.5113 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.913e-05/0.7478, allocations: 36 kB / 0.5114 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.7489, allocations: 367.5 kB / 0.5117 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.372e-05/0.749, allocations: 51.8 kB / 0.5118 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.7511, allocations: 194.2 kB / 0.512 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.7513, allocations: 120 kB / 0.5121 GB, free: 324 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 0.00159/0.7529, allocations: 0.716 MB / 0.5128 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.7539, allocations: 0.714 MB / 0.5135 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/0.7591, allocations: 2.201 MB / 0.5156 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.7591, allocations: 11.98 kB / 0.5156 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.7591, allocations: 0 / 0.5156 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7591, allocations: 3.984 kB / 0.5156 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00613/0.7653, allocations: 3.642 MB / 0.5192 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002073/0.7655, allocations: 144 kB / 0.5193 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007932/0.7663, allocations: 155.8 kB / 0.5195 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.7664, allocations: 8 kB / 0.5195 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.983e-05/0.7665, allocations: 60 kB / 0.5195 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.7665, allocations: 3.938 kB / 0.5195 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.7665, allocations: 7.953 kB / 0.5195 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/0.771, allocations: 2.204 MB / 0.5217 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/0.7734, allocations: 0.8162 MB / 0.5225 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006595/0.7741, allocations: 12 kB / 0.5225 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7751, allocations: 51.95 kB / 0.5226 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.7754, allocations: 100.4 kB / 0.5227 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.7756, allocations: 72.86 kB / 0.5227 GB, free: 5.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006625/0.7822, allocations: 3.542 MB / 0.5262 GB, free: 1.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7822, allocations: 0 / 0.5262 GB, free: 1.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004028/0.7862, allocations: 1.081 MB / 0.5272 GB, free: 0.6523 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * 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.2257/1.012, allocations: 1.106 MB / 0.5283 GB, free: 154.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004864/1.017, allocations: 1.464 MB / 0.5297 GB, free: 154.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.017, allocations: 2.031 kB / 0.5297 GB, free: 154.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.019, allocations: 0.7929 MB / 0.5305 GB, free: 153.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009489/1.028, allocations: 1.144 MB / 0.5316 GB, free: 153.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/1.049, allocations: 9.276 MB / 0.5407 GB, free: 149 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.052, allocations: 2.595 MB / 0.5432 GB, free: 148.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.053, allocations: 290.4 kB / 0.5435 GB, free: 148.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/1.053, allocations: 0 / 0.5435 GB, free: 148.2 MB / 446.1 MB Notification: Performance of Templates: time 0.1136/1.167, allocations: 69.67 MB / 0.6115 GB, free: 88.18 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.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_4.0.0_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.o] Error 1