Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.001247, allocations: 91.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 197.2 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.638/1.638, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 4 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003017/0.1298, allocations: 2.331 MB / 361.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1312, allocations: 0.7055 MB / 361.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1313, allocations: 7.938 kB / 361.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1315, allocations: 23.77 kB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1317, allocations: 75.39 kB / 361.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.132, allocations: 75.89 kB / 362 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1324, allocations: 334.6 kB / 362.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.1326, allocations: 73.23 kB / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.1329, allocations: 127.5 kB / 362.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1331, allocations: 151.4 kB / 362.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1331, allocations: 16 kB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.1332, allocations: 32 kB / 362.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.1333, allocations: 55.75 kB / 362.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.1334, allocations: 69.58 kB / 362.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1337, allocations: 267.5 kB / 363.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1337, allocations: 0 / 363.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1337, allocations: 0 / 363.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1337, allocations: 0 / 363.1 MB, free: 9.762 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001493/0.1352, allocations: 0.6673 MB / 363.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.1353, allocations: 16.03 kB / 363.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.1355, allocations: 35.7 kB / 363.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1358, allocations: 255.7 kB / 364.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.1359, allocations: 20.39 kB / 364.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.136, allocations: 20 kB / 364.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007465/0.1367, allocations: 325.7 kB / 364.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1367, allocations: 0 / 364.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.1368, allocations: 12 kB / 364.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1368, allocations: 4 kB / 364.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009061/0.1377, allocations: 337.5 kB / 364.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.1395, allocations: 0.9882 MB / 365.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.1424, allocations: 0.6114 MB / 366.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.143, allocations: 240.7 kB / 366.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.1431, allocations: 4 kB / 366.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007605/0.1439, allocations: 258.6 kB / 366.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.956e-06/0.1439, allocations: 0 / 366.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001541/0.1454, allocations: 0.5206 MB / 367.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.1455, allocations: 106.8 kB / 367.5 MB, free: 5.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.1458, allocations: 233 kB / 367.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.1459, allocations: 33.7 kB / 367.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.146, allocations: 160.2 kB / 367.9 MB, free: 4.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.1461, allocations: 67 kB / 368 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.1461, allocations: 4 kB / 368 MB, free: 4.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1463, allocations: 334.8 kB / 368.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.1467, allocations: 160.4 kB / 368.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.1472, allocations: 204.2 kB / 368.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.1477, allocations: 186.7 kB / 368.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1477, allocations: 0 / 368.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001055/0.1488, allocations: 447.4 kB / 369.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.1488, allocations: 37.66 kB / 369.3 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1489, allocations: 7.969 kB / 369.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1489, allocations: 4 kB / 369.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.1506, allocations: 311.7 kB / 369.6 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3294/0.48, allocations: 3.208 MB / 372.8 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.4807, allocations: 70.69 kB / 372.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.4808, allocations: 10.64 kB / 372.9 MB, free: 18.79 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: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002679/0.481, allocations: 138.2 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.4811, allocations: 28.78 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.4812, allocations: 34.11 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4812, allocations: 2.281 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4813, allocations: 0.875 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/0.4813, allocations: 1.938 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.4837, allocations: 0.9596 MB / 374.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4837, allocations: 0.8125 kB / 374.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/0.4856, allocations: 299.6 kB / 374.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.4856, allocations: 1.859 kB / 374.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.4856, allocations: 6.828 kB / 374.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/0.49, allocations: 3.23 MB / 377.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.49, allocations: 7.234 kB / 377.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4918, allocations: 0.656 MB / 378.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.4919, allocations: 102.6 kB / 378.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.4919, allocations: 6.531 kB / 378.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.4923, allocations: 53.53 kB / 378.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.4924, allocations: 30.19 kB / 378.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.4925, allocations: 8.359 kB / 378.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.4927, allocations: 168 kB / 378.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4927, allocations: 0 / 378.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005396/0.4932, allocations: 81.83 kB / 378.7 MB, free: 15.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.4934, allocations: 113.2 kB / 378.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002775/0.4962, allocations: 0.6387 MB / 379.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4962, allocations: 0 / 379.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.4983, allocations: 448.6 kB / 379.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.4988, allocations: 37.08 kB / 379.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.5009, allocations: 0.8453 MB / 380.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5013, allocations: 0.7461 MB / 381.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.5014, allocations: 22.2 kB / 381.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5014, allocations: 6.406 kB / 381.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of Templates: time 0.01085/0.5123, allocations: 5.396 MB / 387 MB, free: 12.62 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.ThyristorBehaviourTestCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTestCalcHelperMain.o] Error 1