Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=199998,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=199998,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009086/0.0009085, allocations: 95.2 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.001012/0.001011, allocations: 198.5 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.712/1.712, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 4 kB / 307.3 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003262/0.1522, allocations: 2.231 MB / 361 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1534, allocations: 0.6471 MB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1536, allocations: 4 kB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1537, allocations: 27.77 kB / 361.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.1539, allocations: 63.47 kB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1542, allocations: 75.89 kB / 361.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.1546, allocations: 310.8 kB / 362.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1548, allocations: 70.06 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1549, allocations: 119.5 kB / 362.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1551, allocations: 127.5 kB / 362.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.1552, allocations: 16 kB / 362.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.1552, allocations: 19.94 kB / 362.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.1553, allocations: 47.77 kB / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.1554, allocations: 77.58 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1556, allocations: 227.6 kB / 362.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1556, allocations: 0 / 362.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1556, allocations: 0 / 362.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1557, allocations: 0 / 362.8 MB, free: 10.05 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001067/0.1567, allocations: 0.6036 MB / 363.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1568, allocations: 11.97 kB / 363.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.1569, allocations: 31.72 kB / 363.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.1572, allocations: 250.3 kB / 363.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.1573, allocations: 101.5 kB / 363.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1574, allocations: 24 kB / 363.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.1579, allocations: 261.8 kB / 364.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1579, allocations: 3.984 kB / 364.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.158, allocations: 8 kB / 364.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.158, allocations: 7.984 kB / 364.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.1585, allocations: 213.6 kB / 364.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.1598, allocations: 0.8595 MB / 365.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.1603, allocations: 217.4 kB / 365.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.1606, allocations: 132.8 kB / 365.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1606, allocations: 4 kB / 365.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/0.1611, allocations: 193.6 kB / 365.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.1611, allocations: 0 / 365.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001391/0.1625, allocations: 0.5188 MB / 366.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.1626, allocations: 106.8 kB / 366.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1628, allocations: 202.9 kB / 366.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.1628, allocations: 29.7 kB / 366.6 MB, free: 6.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.163, allocations: 156.2 kB / 366.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.163, allocations: 63.09 kB / 366.8 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.1631, allocations: 4 kB / 366.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1632, allocations: 330.8 kB / 367.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.1635, allocations: 108.2 kB / 367.2 MB, free: 5.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.1638, allocations: 147.8 kB / 367.4 MB, free: 5.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.1641, allocations: 158.2 kB / 367.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1641, allocations: 0 / 367.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008/0.1649, allocations: 415.8 kB / 367.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.165, allocations: 63.39 kB / 368 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.165, allocations: 3.953 kB / 368 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.1654, allocations: 116.8 kB / 368.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.1656, allocations: 39.91 kB / 368.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.1679, allocations: 1.866 MB / 370 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.1684, allocations: 79.84 kB / 370.1 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.1684, allocations: 12 kB / 370.1 MB, free: 2.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dcPowerSupply.cp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.1686, allocations: 142.8 kB / 370.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.1686, allocations: 19.72 kB / 370.3 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.1687, allocations: 29.86 kB / 370.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1687, allocations: 4 kB / 370.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1687, allocations: 0 / 370.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1687, allocations: 4 kB / 370.3 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.1692, allocations: 451.1 kB / 370.7 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1692, allocations: 3.984 kB / 370.7 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.1694, allocations: 31.92 kB / 370.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.1697, allocations: 105 kB / 370.9 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1697, allocations: 11.94 kB / 370.9 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3359/0.5056, allocations: 1.854 MB / 372.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5057, allocations: 1.844 kB / 372.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.5069, allocations: 435.5 kB / 373.2 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.507, allocations: 107.9 kB / 373.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.5071, allocations: 10.08 kB / 373.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.5073, allocations: 28.09 kB / 373.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.5075, allocations: 30.08 kB / 373.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.5075, allocations: 8.266 kB / 373.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.5077, allocations: 143.4 kB / 373.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5077, allocations: 0 / 373.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006034/0.5083, allocations: 97.42 kB / 373.6 MB, free: 18.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bufferCapacitor.v) * Number of discrete variables: 6 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/0.5085, allocations: 105.9 kB / 373.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.5097, allocations: 0.4963 MB / 374.2 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5097, allocations: 0.5 kB / 374.2 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.5102, allocations: 256.5 kB / 374.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.5107, allocations: 51.52 kB / 374.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.5121, allocations: 0.6559 MB / 375.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.5124, allocations: 0.7455 MB / 375.9 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.5125, allocations: 21.14 kB / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5125, allocations: 0 / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of Templates: time 0.01094/0.5235, allocations: 4.091 MB / 380 MB, free: 16.83 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.Analog.Examples.DemoPowerSupplyWithBufferCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBufferCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBufferCalcHelperMain.o] Error 1