Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.00109/0.00109, allocations: 87.92 kB / 17.58 MB, free: 6.219 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.001093/0.001093, allocations: 188.9 kB / 18.48 MB, free: 5.379 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.828/1.828, 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.0005281/0.0005283, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02348/0.1654, allocations: 22.49 MB / 351.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03505/0.2006, allocations: 19.5 MB / 371 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009047/0.2097, allocations: 59.62 kB / 371 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007722/0.2176, allocations: 1.243 MB / 372.3 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02105/0.2387, allocations: 2.584 MB / 374.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008529/0.2473, allocations: 1.198 MB / 376.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2721/0.5195, allocations: 11.56 MB / 387.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.522, allocations: 0.7925 MB / 388.4 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.5267, allocations: 1.603 MB / 390 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004739/0.5315, allocations: 1.872 MB / 391.9 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007019/0.5322, allocations: 75.41 kB / 392 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007496/0.5397, allocations: 1.111 MB / 393.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.5411, allocations: 0.5022 MB / 393.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00349/0.5446, allocations: 1.181 MB / 394.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007285/0.5519, allocations: 4.811 MB / 399.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.5519, allocations: 0 / 399.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.838e-06/0.552, allocations: 0 / 399.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004209/0.5524, allocations: 2.344 kB / 399.6 MB, free: 13.16 MB / 318.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.009576/0.562, allocations: 5.9 MB / 405.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.562, allocations: 8.406 kB / 405.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/0.5629, allocations: 0.7492 MB / 406.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006762/0.5696, allocations: 4.334 MB / 410.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.5697, allocations: 73.98 kB / 410.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.5699, allocations: 95.94 kB / 410.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.5721, allocations: 1.313 MB / 412 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.5721, allocations: 3.938 kB / 412 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.5722, allocations: 38.38 kB / 412.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.5723, allocations: 38.38 kB / 412.1 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.5744, allocations: 1.526 MB / 413.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008441/0.5829, allocations: 5.667 MB / 419.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.5843, allocations: 1.041 MB / 420.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.5856, allocations: 1.241 MB / 421.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05885/0.6445, allocations: 59.97 MB / 481.6 MB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.6455, allocations: 0.5892 MB / 482.1 MB, free: 1.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.036e-06/0.6456, allocations: 0 / 482.1 MB, free: 1.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.003608/0.6492, allocations: 1.943 MB / 484.1 MB, free: 15.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.6492, allocations: 63.97 kB / 484.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007211/0.6565, allocations: 5.554 MB / 489.7 MB, free: 11.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.6566, allocations: 37.7 kB / 489.7 MB, free: 11.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002729/0.6593, allocations: 2.935 MB / 492.7 MB, free: 8.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.6597, allocations: 299.6 kB / 493 MB, free: 7.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.6598, allocations: 28 kB / 493 MB, free: 7.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.66, allocations: 369.7 kB / 493.4 MB, free: 7.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/0.6608, allocations: 419.8 kB / 493.8 MB, free: 7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.6622, allocations: 1.105 MB / 494.9 MB, free: 5.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.6632, allocations: 0.5689 MB / 495.4 MB, free: 5.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.6632, allocations: 8 kB / 495.4 MB, free: 4.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00435/0.6676, allocations: 2.253 MB / 497.7 MB, free: 2.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.6676, allocations: 16 kB / 497.7 MB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002173/0.6679, allocations: 164 kB / 497.9 MB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-05/0.6679, allocations: 36 kB / 497.9 MB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.669, allocations: 371.5 kB / 498.3 MB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.47e-05/0.6691, allocations: 51.78 kB / 498.3 MB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.6717, allocations: 186.2 kB / 498.5 MB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.6719, allocations: 133.8 kB / 498.6 MB, free: 1.801 MB / 398.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.002003/0.6739, allocations: 0.7121 MB / 499.4 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/0.6752, allocations: 0.7218 MB / 0.4884 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/0.6806, allocations: 2.212 MB / 0.4905 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.6807, allocations: 12 kB / 0.4905 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.6807, allocations: 0 / 0.4905 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6807, allocations: 3.984 kB / 0.4905 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/0.688, allocations: 3.655 MB / 0.4941 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001862/0.6882, allocations: 141.7 kB / 0.4942 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.6889, allocations: 167.9 kB / 0.4944 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.6889, allocations: 4 kB / 0.4944 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.689, allocations: 63.98 kB / 0.4945 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.689, allocations: 3.953 kB / 0.4945 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.689, allocations: 4 kB / 0.4945 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.6926, allocations: 2.212 MB / 0.4966 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.6942, allocations: 0.8123 MB / 0.4974 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/0.6952, allocations: 23.98 kB / 0.4974 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.6964, allocations: 43.97 kB / 0.4975 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.6966, allocations: 104.4 kB / 0.4976 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.6968, allocations: 69.53 kB / 0.4976 GB, free: 6.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.005273/0.702, allocations: 3.559 MB / 0.5011 GB, free: 3.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.702, allocations: 0 / 0.5011 GB, free: 3.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00308/0.7051, allocations: 1.085 MB / 0.5022 GB, free: 2.109 MB / 414.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.001719/0.7069, allocations: 1.132 MB / 0.5033 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.7095, allocations: 1.471 MB / 0.5047 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7095, allocations: 0 / 0.5047 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.7107, allocations: 0.7943 MB / 0.5055 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/0.7146, allocations: 0.9379 MB / 0.5064 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.7294, allocations: 9.339 MB / 0.5155 GB, free: 4.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.7316, allocations: 2.6 MB / 0.5181 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009003/0.7325, allocations: 293.7 kB / 0.5184 GB, free: 1.598 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.7325, allocations: 0 / 0.5184 GB, free: 1.598 MB / 430.1 MB Notification: Performance of Templates: time 0.3286/1.061, allocations: 70.03 MB / 0.5867 GB, free: 125.7 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.o] Error 1