Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.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.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009239/0.0009239, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.751/1.751, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002369, allocations: 8 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1218, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.007072/0.1289, allocations: 7.073 MB / 365.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2889/0.4179, allocations: 17.7 MB / 383.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.4191, allocations: 31.66 kB / 383.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.4215, allocations: 0.7089 MB / 384.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.4289, allocations: 1.415 MB / 385.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007613/0.4365, allocations: 1.039 MB / 386.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008104/0.4446, allocations: 3.076 MB / 389.8 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.4453, allocations: 217.9 kB / 390.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.4467, allocations: 493.3 kB / 390.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008012/0.4476, allocations: 0.5135 MB / 391 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/0.4477, allocations: 23.47 kB / 391.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006929/0.4546, allocations: 1.314 MB / 392.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.455, allocations: 142.4 kB / 392.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008436/0.4558, allocations: 325.7 kB / 392.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.4584, allocations: 1.566 MB / 394.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4584, allocations: 0 / 394.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4584, allocations: 4 kB / 394.4 MB, free: 4.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.4584, allocations: 0 / 394.4 MB, free: 4.668 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003237/0.4617, allocations: 1.811 MB / 396.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4617, allocations: 9.562 kB / 396.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.462, allocations: 192.2 kB / 396.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.4641, allocations: 1.283 MB / 397.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.4641, allocations: 20.59 kB / 397.7 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/0.4642, allocations: 24.5 kB / 397.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009388/0.4652, allocations: 453.8 kB / 398.2 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4652, allocations: 1.375 kB / 398.2 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.4652, allocations: 17.27 kB / 398.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4652, allocations: 10.86 kB / 398.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.4664, allocations: 0.5106 MB / 398.7 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.4691, allocations: 1.631 MB / 400.4 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008475/0.47, allocations: 421.4 kB / 400.8 MB, free: 420 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/0.4707, allocations: 437.6 kB / 401.2 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01748/0.4882, allocations: 15.53 MB / 416.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006567/0.4889, allocations: 280.2 kB / 417 MB, free: 15.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.585e-06/0.4889, allocations: 0 / 417 MB, free: 15.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002387/0.4913, allocations: 0.911 MB / 417.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.4914, allocations: 63.34 kB / 418 MB, free: 14.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.4933, allocations: 1.432 MB / 419.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.4934, allocations: 37.69 kB / 419.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007653/0.4941, allocations: 0.7148 MB / 420.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.4943, allocations: 102.7 kB / 420.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.4943, allocations: 4 kB / 420.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4944, allocations: 325.9 kB / 420.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.4949, allocations: 185 kB / 420.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.4955, allocations: 379.4 kB / 421.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.496, allocations: 220.6 kB / 421.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.496, allocations: 8 kB / 421.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001479/0.4975, allocations: 0.7873 MB / 422.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.4975, allocations: 11.98 kB / 422.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.929e-05/0.4976, allocations: 44 kB / 422.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.498, allocations: 132.8 kB / 422.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.4984, allocations: 116.1 kB / 422.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006529/0.499, allocations: 0.6851 MB / 423.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.4998, allocations: 83.47 kB / 423.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.4999, allocations: 32 kB / 423.2 MB, free: 9.527 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005218/0.5004, allocations: 277.1 kB / 423.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.5006, allocations: 188.4 kB / 423.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.5026, allocations: 0.7909 MB / 424.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.5026, allocations: 4 kB / 424.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.5026, allocations: 0 / 424.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5026, allocations: 3.984 kB / 424.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.505, allocations: 1.335 MB / 425.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.662e-05/0.505, allocations: 39.98 kB / 425.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.5053, allocations: 59.95 kB / 425.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.5055, allocations: 116.8 kB / 426 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.5056, allocations: 23.98 kB / 426.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006183/0.5062, allocations: 0.6733 MB / 426.7 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5062, allocations: 3.953 kB / 426.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.5075, allocations: 0.7533 MB / 427.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.508, allocations: 282.6 kB / 427.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.5082, allocations: 11.95 kB / 427.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.5086, allocations: 35.97 kB / 427.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.5087, allocations: 43.92 kB / 427.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.5088, allocations: 28 kB / 427.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.5101, allocations: 0.9415 MB / 428.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5101, allocations: 0 / 428.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00128/0.5114, allocations: 323.8 kB / 429.1 MB, free: 3.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.5125, allocations: 0.5556 MB / 429.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.5139, allocations: 0.5402 MB / 430.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.5139, allocations: 3.859 kB / 430.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.5146, allocations: 315.4 kB / 430.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.516, allocations: 302.8 kB / 430.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.5202, allocations: 2.557 MB / 433.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/0.521, allocations: 1.153 MB / 434.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.5212, allocations: 87.44 kB / 434.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5212, allocations: 0 / 434.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of Templates: time 0.04131/0.5625, allocations: 25.61 MB / 460.3 MB, free: 4.266 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.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.InverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.InverterCalcHelperMain.o] Error 1