Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.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.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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 95.3 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.000282, allocations: 7.984 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.2852/0.4125, allocations: 23.75 MB / 382.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03481/0.4473, allocations: 20.55 MB / 403.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008484/0.4559, allocations: 55.88 kB / 403.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007216/0.4631, allocations: 1.282 MB / 404.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01929/0.4824, allocations: 2.631 MB / 407.1 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009557/0.4921, allocations: 1.24 MB / 408.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02514/0.5172, allocations: 11.98 MB / 420.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.5196, allocations: 0.7842 MB / 421.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004605/0.5242, allocations: 1.811 MB / 422.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00491/0.5291, allocations: 1.918 MB / 424.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006625/0.5298, allocations: 76 kB / 424.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007285/0.5371, allocations: 1.377 MB / 426.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008676/0.538, allocations: 0.5 MB / 426.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003069/0.5411, allocations: 1.174 MB / 427.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007822/0.5489, allocations: 4.782 MB / 432.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.549, allocations: 4 kB / 432.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.549, allocations: 0 / 432.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002621/0.5492, allocations: 0 / 432.7 MB, free: 2.738 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.01415/0.5634, allocations: 5.869 MB / 438.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.5635, allocations: 12.03 kB / 438.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.5658, allocations: 0.7371 MB / 439.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.5765, allocations: 4.301 MB / 443.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.5766, allocations: 72.92 kB / 443.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005769/0.5772, allocations: 99.91 kB / 443.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.5803, allocations: 1.313 MB / 445.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.5803, allocations: 4 kB / 445.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.5805, allocations: 36 kB / 445.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.5805, allocations: 39.97 kB / 445.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.583, allocations: 1.527 MB / 446.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.5943, allocations: 5.656 MB / 452.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.5961, allocations: 1.02 MB / 453.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.5979, allocations: 1.247 MB / 454.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07261/0.6705, allocations: 61.1 MB / 0.5036 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.6719, allocations: 0.5793 MB / 0.5042 GB, free: 6.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 7.354e-06/0.672, allocations: 3.938 kB / 0.5042 GB, free: 6.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.005259/0.6773, allocations: 1.934 MB / 0.5061 GB, free: 4.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.6774, allocations: 67.89 kB / 0.5062 GB, free: 4.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/0.6911, allocations: 5.512 MB / 0.5115 GB, free: 14.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003191/0.6914, allocations: 41.7 kB / 0.5116 GB, free: 14.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004336/0.6958, allocations: 2.947 MB / 0.5145 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009645/0.6968, allocations: 299.9 kB / 0.5148 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.6971, allocations: 28 kB / 0.5148 GB, free: 11.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.6974, allocations: 365.9 kB / 0.5151 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.6987, allocations: 419.8 kB / 0.5155 GB, free: 10.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.7005, allocations: 1.103 MB / 0.5166 GB, free: 9.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.7019, allocations: 0.5724 MB / 0.5172 GB, free: 8.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.762e-05/0.702, allocations: 8 kB / 0.5172 GB, free: 8.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005248/0.7072, allocations: 2.234 MB / 0.5194 GB, free: 6.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.7073, allocations: 16 kB / 0.5194 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002667/0.7076, allocations: 164 kB / 0.5195 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-05/0.7077, allocations: 36 kB / 0.5196 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.7089, allocations: 375.5 kB / 0.5199 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.418e-05/0.709, allocations: 43.86 kB / 0.52 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.7117, allocations: 198.1 kB / 0.5201 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/0.712, allocations: 138.5 kB / 0.5203 GB, free: 5.516 MB / 446.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.002518/0.7145, allocations: 0.7074 MB / 0.521 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002405/0.717, allocations: 0.7101 MB / 0.5217 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006735/0.7237, allocations: 2.205 MB / 0.5238 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.7238, allocations: 8 kB / 0.5238 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.7238, allocations: 7.938 kB / 0.5238 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.7238, allocations: 0 / 0.5238 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3383/1.062, allocations: 3.628 MB / 0.5274 GB, free: 148.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002598/1.062, allocations: 139.2 kB / 0.5275 GB, free: 148.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/1.063, allocations: 167.5 kB / 0.5277 GB, free: 148.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/1.063, allocations: 3.609 kB / 0.5277 GB, free: 148.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/1.063, allocations: 59.98 kB / 0.5277 GB, free: 148.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/1.063, allocations: 3.094 kB / 0.5277 GB, free: 148.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.063, allocations: 1.828 kB / 0.5277 GB, free: 148.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004734/1.068, allocations: 2.212 MB / 0.5299 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/1.07, allocations: 0.8181 MB / 0.5307 GB, free: 148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005793/1.071, allocations: 13.55 kB / 0.5307 GB, free: 148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.072, allocations: 50.55 kB / 0.5308 GB, free: 148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/1.072, allocations: 97.86 kB / 0.5308 GB, free: 148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.072, allocations: 69.55 kB / 0.5309 GB, free: 148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007667/1.08, allocations: 3.535 MB / 0.5344 GB, free: 146.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.08, allocations: 0 / 0.5344 GB, free: 146.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004925/1.085, allocations: 1.076 MB / 0.5354 GB, free: 146.7 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.002514/1.088, allocations: 1.113 MB / 0.5365 GB, free: 146.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003476/1.091, allocations: 1.469 MB / 0.5379 GB, free: 146 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.091, allocations: 0 / 0.5379 GB, free: 146 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.093, allocations: 0.7953 MB / 0.5387 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007929/1.1, allocations: 1.145 MB / 0.5398 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.117, allocations: 9.285 MB / 0.5489 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/1.119, allocations: 2.596 MB / 0.5514 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007466/1.12, allocations: 287.3 kB / 0.5517 GB, free: 139.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/1.12, allocations: 0 / 0.5517 GB, free: 139.4 MB / 446.1 MB Notification: Performance of Templates: time 0.1156/1.236, allocations: 69.7 MB / 0.6198 GB, free: 72.08 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.o] Error 1