Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009875/0.000988, allocations: 89.47 kB / 17.95 MB, free: 5.426 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.00131/0.00131, allocations: 172.3 kB / 18.86 MB, free: 4.641 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.118/2.118, allocations: 205.4 MB / 225 MB, free: 12.73 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.0005608/0.0005611, allocations: 12 kB / 282 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1459, allocations: 47.58 MB / 329.6 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01507/0.1611, allocations: 13.92 MB / 343.5 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02746/0.1886, allocations: 19.66 MB / 363.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.1922, allocations: 31.81 kB / 363.2 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005586/0.1979, allocations: 1.099 MB / 364.3 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01555/0.2135, allocations: 1.93 MB / 366.2 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007483/0.221, allocations: 1.156 MB / 367.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01344/0.2345, allocations: 6.339 MB / 373.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.2359, allocations: 446 kB / 374.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.2383, allocations: 0.9559 MB / 375.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.2403, allocations: 1.094 MB / 376.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.2404, allocations: 40 kB / 376.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006285/0.2467, allocations: 1.12 MB / 377.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006253/0.2474, allocations: 313.4 kB / 377.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002528/0.2499, allocations: 1.426 MB / 379.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3462/0.5961, allocations: 2.889 MB / 382 MB, free: 22.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5962, allocations: 2 kB / 382 MB, free: 22.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.5962, allocations: 0 / 382 MB, free: 22.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.5965, allocations: 0 / 382 MB, free: 22.6 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.009753/0.6062, allocations: 3.362 MB / 385.4 MB, free: 20.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.178e-05/0.6063, allocations: 8.938 kB / 385.4 MB, free: 20.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.6074, allocations: 417 kB / 385.8 MB, free: 20.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007955/0.6154, allocations: 2.507 MB / 388.3 MB, free: 19.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.6155, allocations: 35.56 kB / 388.3 MB, free: 19.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.6157, allocations: 61.69 kB / 388.4 MB, free: 19.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.6177, allocations: 0.7511 MB / 389.1 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6178, allocations: 0 / 389.1 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/0.6179, allocations: 18.44 kB / 389.2 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.6179, allocations: 23.98 kB / 389.2 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.6201, allocations: 0.8598 MB / 390 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008972/0.6291, allocations: 3.137 MB / 393.2 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.6308, allocations: 0.6174 MB / 393.8 MB, free: 18.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.6321, allocations: 0.6693 MB / 394.5 MB, free: 18.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03565/0.6678, allocations: 30.23 MB / 424.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/0.6691, allocations: 385.7 kB / 425.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 8.395e-06/0.6691, allocations: 0 / 425.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.004681/0.6738, allocations: 1.183 MB / 426.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.735e-05/0.6739, allocations: 60.81 kB / 426.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007018/0.6809, allocations: 3.1 MB / 429.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.6811, allocations: 33.7 kB / 429.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002291/0.6834, allocations: 1.588 MB / 431 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.6838, allocations: 163.5 kB / 431.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.6839, allocations: 73.69 kB / 431.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.6842, allocations: 333.9 kB / 431.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009454/0.6852, allocations: 276.8 kB / 431.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.6866, allocations: 0.6169 MB / 432.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.689, allocations: 0.9463 MB / 433.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.689, allocations: 4 kB / 433.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004389/0.6934, allocations: 1.287 MB / 434.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.6935, allocations: 8 kB / 434.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/0.6937, allocations: 81.75 kB / 434.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.087e-05/0.6937, allocations: 24.81 kB / 434.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.6948, allocations: 219.8 kB / 435 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-05/0.6948, allocations: 24.44 kB / 435.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.6978, allocations: 119 kB / 435.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.698, allocations: 68 kB / 435.3 MB, free: 15.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001618/0.6997, allocations: 457.7 kB / 435.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.7008, allocations: 403 kB / 436.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/0.7043, allocations: 1.262 MB / 437.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.7043, allocations: 4 kB / 437.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.7043, allocations: 1.875 kB / 437.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7043, allocations: 0 / 437.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.7094, allocations: 2.202 MB / 439.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001099/0.7096, allocations: 68 kB / 439.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.7101, allocations: 106.8 kB / 439.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.7101, allocations: 0 / 439.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.7102, allocations: 31.98 kB / 439.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/0.7102, allocations: 4 kB / 439.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7102, allocations: 8.531 kB / 439.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.7133, allocations: 1.389 MB / 441.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.7147, allocations: 494.2 kB / 441.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.715, allocations: 15.98 kB / 441.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/0.7157, allocations: 42.94 kB / 441.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.7159, allocations: 59.94 kB / 441.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-05/0.716, allocations: 39.62 kB / 441.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003411/0.7194, allocations: 2.023 MB / 443.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7194, allocations: 4 kB / 443.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001962/0.7214, allocations: 0.5973 MB / 444.4 MB, free: 6.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001483/0.7229, allocations: 0.7717 MB / 445.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.725, allocations: 0.8484 MB / 446 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.725, allocations: 2.078 kB / 446 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008912/0.7259, allocations: 476.7 kB / 446.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.7286, allocations: 0.4991 MB / 447 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.7386, allocations: 5.585 MB / 452.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.7402, allocations: 1.722 MB / 454.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.7407, allocations: 155.4 kB / 454.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7407, allocations: 0 / 454.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of Templates: time 0.09089/0.8316, allocations: 38.24 MB / 492.7 MB, free: 5.898 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModelCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.o] Error 1