Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008693/0.0008694, allocations: 95.39 kB / 17.64 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009254/0.0009254, allocations: 202 kB / 18.54 MB, free: 5.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002742, allocations: 8 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1214, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004461/0.1259, allocations: 4.416 MB / 363.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2639/0.3899, allocations: 9.859 MB / 373.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009649/0.3909, allocations: 9.938 kB / 373.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.393, allocations: 0.5881 MB / 373.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.397, allocations: 0.7593 MB / 374.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.399, allocations: 409.2 kB / 374.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.4027, allocations: 1.273 MB / 376.1 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.4032, allocations: 153.8 kB / 376.2 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006765/0.4038, allocations: 253.5 kB / 376.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.4043, allocations: 281.6 kB / 376.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.4044, allocations: 17.59 kB / 376.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.4073, allocations: 0.6798 MB / 377.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.4075, allocations: 84.52 kB / 377.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.4079, allocations: 198.3 kB / 377.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.4098, allocations: 0.8936 MB / 378.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.4099, allocations: 4.141 kB / 378.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.982e-06/0.4099, allocations: 0.7031 kB / 378.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.4099, allocations: 0 / 378.6 MB, free: 8.078 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002501/0.4124, allocations: 1.21 MB / 379.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4125, allocations: 13.14 kB / 379.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.4127, allocations: 117.6 kB / 380 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4139, allocations: 0.6979 MB / 380.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.4139, allocations: 19.44 kB / 380.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.261e-05/0.414, allocations: 27.42 kB / 380.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/0.4148, allocations: 325.8 kB / 381 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4148, allocations: 4.578 kB / 381 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.4149, allocations: 15.22 kB / 381.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.4149, allocations: 8.703 kB / 381.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.4156, allocations: 294.4 kB / 381.3 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.4178, allocations: 1.372 MB / 382.7 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.4185, allocations: 309.7 kB / 383 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.419, allocations: 261.5 kB / 383.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00408/0.4231, allocations: 2.805 MB / 386.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.4236, allocations: 216.3 kB / 386.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.756e-06/0.4237, allocations: 0 / 386.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001687/0.4254, allocations: 0.6695 MB / 387 MB, free: 3.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4254, allocations: 55.08 kB / 387 MB, free: 3.801 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.4267, allocations: 0.7968 MB / 387.8 MB, free: 3.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.4267, allocations: 30.05 kB / 387.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.4271, allocations: 445.8 kB / 388.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.4272, allocations: 103.5 kB / 388.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.4273, allocations: 7.781 kB / 388.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.4273, allocations: 325.7 kB / 388.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.4277, allocations: 131.1 kB / 388.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.428, allocations: 229.3 kB / 389.1 MB, free: 3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.4284, allocations: 166.5 kB / 389.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4284, allocations: 1.469 kB / 389.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001039/0.4294, allocations: 0.5258 MB / 389.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.4295, allocations: 12.66 kB / 389.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.439e-05/0.4296, allocations: 34.31 kB / 389.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.4298, allocations: 32.53 kB / 389.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.4301, allocations: 88.62 kB / 389.9 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008678/0.431, allocations: 1.342 MB / 391.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.4314, allocations: 57.86 kB / 391.3 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.4314, allocations: 15.31 kB / 391.3 MB, free: 1.539 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.4318, allocations: 208.2 kB / 391.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4319, allocations: 103.2 kB / 391.6 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.4331, allocations: 0.505 MB / 392.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4331, allocations: 7.609 kB / 392.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4331, allocations: 1.25 kB / 392.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4332, allocations: 0 / 392.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.4339, allocations: 0.5623 MB / 392.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-05/0.434, allocations: 37.62 kB / 392.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.4343, allocations: 61.17 kB / 392.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-05/0.4344, allocations: 31.8 kB / 392.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.4344, allocations: 15.2 kB / 392.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008279/0.4352, allocations: 1.331 MB / 394.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4353, allocations: 0 / 394.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4366, allocations: 0.6452 MB / 394.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.4368, allocations: 185.2 kB / 395 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/0.4369, allocations: 8.672 kB / 395 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.4371, allocations: 16.8 kB / 395 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.4372, allocations: 27.17 kB / 395.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.4373, allocations: 13.55 kB / 395.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008535/0.4381, allocations: 0.5386 MB / 395.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4381, allocations: 4 kB / 395.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000902/0.439, allocations: 239.3 kB / 395.8 MB, free: 15.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006927/0.4397, allocations: 341 kB / 396.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4408, allocations: 0.4992 MB / 396.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4408, allocations: 4.688 kB / 396.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.4413, allocations: 342.2 kB / 397 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.4419, allocations: 121 kB / 397.1 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.4452, allocations: 1.922 MB / 399.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.4457, allocations: 0.9582 MB / 400 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4458, allocations: 44.22 kB / 400.1 MB, free: 12.83 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4458, allocations: 0 / 400.1 MB, free: 12.83 MB / 318.1 MB Notification: Performance of Templates: time 0.02082/0.4667, allocations: 13.88 MB / 413.9 MB, free: 1.156 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.Spice3BenchmarkRtlInverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverterCalcHelperMain.o] Error 1