Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009564/0.0009565, 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.001336/0.001336, 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.566/1.566, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 11.94 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005678/0.1567, allocations: 4.502 MB / 363.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009466/0.1662, allocations: 6.047 MB / 369.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007852/0.167, allocations: 31.75 kB / 369.4 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1684, allocations: 398.8 kB / 369.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.1712, allocations: 0.6522 MB / 370.4 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1725, allocations: 303 kB / 370.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003511/0.1761, allocations: 1.938 MB / 372.6 MB, free: 232 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.1765, allocations: 147.2 kB / 372.8 MB, free: 72 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.291/0.4674, allocations: 313.4 kB / 373.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006947/0.4682, allocations: 309.4 kB / 373.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.383e-05/0.4683, allocations: 16.38 kB / 373.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.4702, allocations: 452.9 kB / 373.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.4704, allocations: 89.69 kB / 373.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.4708, allocations: 216.7 kB / 374.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.4727, allocations: 0.9209 MB / 375.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4727, allocations: 0.5 kB / 375.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.4727, allocations: 1.031 kB / 375.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.4727, allocations: 3.219 kB / 375.1 MB, free: 9.852 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002413/0.4752, allocations: 1.309 MB / 376.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.4752, allocations: 9.344 kB / 376.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.4756, allocations: 139.3 kB / 376.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.4772, allocations: 0.7967 MB / 377.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.4772, allocations: 19 kB / 377.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.4773, allocations: 30.56 kB / 377.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/0.478, allocations: 307.8 kB / 377.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4781, allocations: 0 / 377.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.4781, allocations: 9.406 kB / 377.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4781, allocations: 6.391 kB / 377.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.4787, allocations: 234.8 kB / 377.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.4809, allocations: 1.128 MB / 379.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.4814, allocations: 243.6 kB / 379.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/0.482, allocations: 300.8 kB / 379.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.483, allocations: 0.8353 MB / 380.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.483, allocations: 36.86 kB / 380.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/0.483, allocations: 0 / 380.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.003366/0.4864, allocations: 1.573 MB / 382 MB, free: 6.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.4865, allocations: 121.3 kB / 382.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.4879, allocations: 0.915 MB / 383.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.4879, allocations: 35.88 kB / 383.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.4882, allocations: 360 kB / 383.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4884, allocations: 129.6 kB / 383.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.4884, allocations: 11.41 kB / 383.6 MB, free: 6.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4885, allocations: 321 kB / 383.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.4888, allocations: 121.9 kB / 384 MB, free: 5.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.4892, allocations: 161.8 kB / 384.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.4895, allocations: 186.2 kB / 384.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4895, allocations: 0 / 384.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001021/0.4905, allocations: 0.5532 MB / 384.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.4906, allocations: 40.03 kB / 385 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/0.4906, allocations: 16.03 kB / 385 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.4909, allocations: 69.69 kB / 385 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.4912, allocations: 48.34 kB / 385.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.4935, allocations: 2.988 MB / 388.1 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.494, allocations: 16.66 kB / 388.1 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/0.4941, allocations: 19.91 kB / 388.1 MB, free: 2.824 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007047/0.4948, allocations: 264.4 kB / 388.4 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.495, allocations: 122 kB / 388.5 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.4968, allocations: 0.6722 MB / 389.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.4968, allocations: 4.297 kB / 389.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4968, allocations: 1.344 kB / 389.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4968, allocations: 6.484 kB / 389.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.4982, allocations: 0.6135 MB / 389.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/0.4983, allocations: 16.53 kB / 389.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.4985, allocations: 33.23 kB / 389.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.4987, allocations: 71.05 kB / 389.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.4988, allocations: 19.55 kB / 389.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.5013, allocations: 2.996 MB / 392.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5013, allocations: 4.891 kB / 392.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.503, allocations: 0.8633 MB / 393.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.5036, allocations: 273.6 kB / 394 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.5037, allocations: 6.984 kB / 394.1 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.504, allocations: 13.45 kB / 394.1 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.5041, allocations: 43.98 kB / 394.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.5042, allocations: 17.67 kB / 394.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001242/0.5054, allocations: 0.6166 MB / 394.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5055, allocations: 1.125 kB / 394.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001319/0.5068, allocations: 227.6 kB / 395 MB, free: 15 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007947/0.5076, allocations: 293.5 kB / 395.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.5093, allocations: 0.7773 MB / 396 MB, free: 14.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5093, allocations: 4.062 kB / 396 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.5102, allocations: 0.6161 MB / 396.7 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.5111, allocations: 120.8 kB / 396.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.5146, allocations: 1.913 MB / 398.7 MB, free: 13.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.5154, allocations: 0.9953 MB / 399.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.5155, allocations: 51.36 kB / 399.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5155, allocations: 0 / 399.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of Templates: time 0.02724/0.5428, allocations: 17.26 MB / 417 MB, free: 15.01 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.GraetzCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.GraetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.GraetzCalcHelperMain.o] Error 1