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.001432/0.001432, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001316/0.001316, allocations: 194 kB / 18.72 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 2.018/2.018, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001279/0.001279, allocations: 48.2 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1324, allocations: 46.64 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02447/0.1569, allocations: 25.04 MB / 352.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03614/0.1931, allocations: 21.49 MB / 373.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009194/0.2024, allocations: 59.62 kB / 373.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007949/0.2104, allocations: 1.461 MB / 375.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02041/0.2309, allocations: 2.674 MB / 378 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008369/0.2393, allocations: 1.312 MB / 379.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3811/0.6204, allocations: 12.13 MB / 391.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/0.6242, allocations: 0.8262 MB / 392.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00701/0.6312, allocations: 1.789 MB / 394 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007688/0.639, allocations: 2.029 MB / 396.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.6408, allocations: 89.56 kB / 396.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.6512, allocations: 1.163 MB / 397.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001741/0.653, allocations: 0.5639 MB / 397.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008717/0.6617, allocations: 2.601 MB / 400.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009645/0.6714, allocations: 4.932 MB / 405.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.6714, allocations: 0 / 405.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.656e-06/0.6715, allocations: 4 kB / 405.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005224/0.672, allocations: 0 / 405.4 MB, free: 10.54 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.02191/0.6939, allocations: 6.734 MB / 412.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.148e-05/0.694, allocations: 15.97 kB / 412.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.6966, allocations: 0.7481 MB / 412.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.7094, allocations: 4.667 MB / 417.6 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.7096, allocations: 70 kB / 417.6 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008814/0.7105, allocations: 100.3 kB / 417.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005029/0.7155, allocations: 1.293 MB / 419 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.7156, allocations: 0.75 kB / 419 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003829/0.716, allocations: 43.98 kB / 419.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.079e-05/0.7161, allocations: 37.67 kB / 419.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.7199, allocations: 1.488 MB / 420.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.7394, allocations: 5.647 MB / 426.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.742, allocations: 0.9964 MB / 427.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.7446, allocations: 1.227 MB / 428.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07917/0.8238, allocations: 59.93 MB / 488.4 MB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.825, allocations: 0.5637 MB / 489 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 3.948e-06/0.825, allocations: 0 / 489 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of matching and sorting (n=85): time 0.005098/0.8301, allocations: 1.882 MB / 490.9 MB, free: 14.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.8302, allocations: 59.97 kB / 490.9 MB, free: 14.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/0.8413, allocations: 5.628 MB / 496.5 MB, free: 9.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003775/0.8417, allocations: 41.7 kB / 496.6 MB, free: 8.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003282/0.845, allocations: 2.934 MB / 499.5 MB, free: 6.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007526/0.8458, allocations: 294.8 kB / 499.8 MB, free: 5.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007502/0.8466, allocations: 426.5 kB / 0.4885 GB, free: 5.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.8467, allocations: 305.1 kB / 0.4888 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009153/0.8477, allocations: 399.8 kB / 0.4892 GB, free: 4.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.8493, allocations: 1.094 MB / 0.4902 GB, free: 3.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.852, allocations: 1.614 MB / 0.4918 GB, free: 1.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.852, allocations: 4 kB / 0.4918 GB, free: 1.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005628/0.8576, allocations: 2.217 MB / 0.494 GB, free: 15.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.8577, allocations: 19.28 kB / 0.494 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002387/0.858, allocations: 164 kB / 0.4942 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.103e-05/0.858, allocations: 32 kB / 0.4942 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.8593, allocations: 363.6 kB / 0.4945 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.396e-05/0.8593, allocations: 47.8 kB / 0.4946 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/0.8635, allocations: 190.1 kB / 0.4948 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.8638, allocations: 120 kB / 0.4949 GB, free: 14.14 MB / 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 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002983/0.8668, allocations: 0.7121 MB / 0.4956 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002389/0.8692, allocations: 0.7217 MB / 0.4963 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008072/0.8773, allocations: 2.169 MB / 0.4984 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.8773, allocations: 8 kB / 0.4984 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.8774, allocations: 0 / 0.4984 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.8774, allocations: 3.984 kB / 0.4984 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.8932, allocations: 3.63 MB / 0.5019 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002378/0.8934, allocations: 140 kB / 0.5021 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.8943, allocations: 151.9 kB / 0.5022 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/0.8943, allocations: 4 kB / 0.5022 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/0.8946, allocations: 63.98 kB / 0.5023 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.8946, allocations: 4 kB / 0.5023 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8946, allocations: 0 / 0.5023 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006487/0.9011, allocations: 2.166 MB / 0.5044 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004118/0.9052, allocations: 0.8163 MB / 0.5052 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002507/0.9078, allocations: 15.98 kB / 0.5052 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003346/0.9112, allocations: 35.97 kB / 0.5053 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/0.9116, allocations: 92.48 kB / 0.5053 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/0.9118, allocations: 74.11 kB / 0.5054 GB, free: 3.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01393/0.9258, allocations: 3.637 MB / 0.509 GB, free: 15.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.9258, allocations: 0 / 0.509 GB, free: 15.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006308/0.9321, allocations: 1.089 MB / 0.51 GB, free: 14.53 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003275/0.9355, allocations: 1.196 MB / 0.5112 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004175/0.9397, allocations: 1.428 MB / 0.5126 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.9397, allocations: 3.938 kB / 0.5126 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.9418, allocations: 0.7746 MB / 0.5134 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/0.9538, allocations: 0.9256 MB / 0.5143 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/0.9826, allocations: 9.898 MB / 0.5239 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005818/0.9885, allocations: 2.604 MB / 0.5265 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.9897, allocations: 299.4 kB / 0.5268 GB, free: 13.45 MB / 462.1 MB Notification: Performance of SimCode: time 2.004e-06/0.9897, allocations: 0 / 0.5268 GB, free: 13.45 MB / 462.1 MB Notification: Performance of Templates: time 0.363/1.353, allocations: 70.46 MB / 0.5956 GB, free: 138.1 MB / 462.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++ -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.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