Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008866/0.0008931, allocations: 90.86 kB / 17.58 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008999/0.0009, allocations: 185.5 kB / 18.48 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 224.6 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004241/0.0004241, allocations: 15.94 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09392, allocations: 47.57 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002991/0.09695, allocations: 2.287 MB / 331.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.09819, allocations: 0.7103 MB / 332 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.09833, allocations: 4 kB / 332 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.09846, allocations: 27.77 kB / 332 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.09864, allocations: 75.39 kB / 332.1 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.09891, allocations: 79.83 kB / 332.2 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.09923, allocations: 334.5 kB / 332.5 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.09942, allocations: 65.31 kB / 332.6 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.09961, allocations: 123.5 kB / 332.7 MB, free: 380 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.09982, allocations: 155.4 kB / 332.8 MB, free: 224 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.09987, allocations: 16 kB / 332.8 MB, free: 208 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.047e-05/0.09991, allocations: 16 kB / 332.9 MB, free: 192 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.09997, allocations: 51.81 kB / 332.9 MB, free: 140 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.1001, allocations: 77.52 kB / 333 MB, free: 56 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1003, allocations: 259.5 kB / 333.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1003, allocations: 0 / 333.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1003, allocations: 4 kB / 333.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1004, allocations: 0 / 333.2 MB, free: 15.8 MB / 286.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.001409/0.1018, allocations: 0.6569 MB / 333.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1018, allocations: 12.03 kB / 333.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.1019, allocations: 27.72 kB / 333.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1022, allocations: 255.6 kB / 334.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.1023, allocations: 16.44 kB / 334.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.1023, allocations: 20 kB / 334.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.1031, allocations: 337.7 kB / 334.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1031, allocations: 0 / 334.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.1031, allocations: 4 kB / 334.6 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1031, allocations: 4 kB / 334.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.104, allocations: 337.5 kB / 334.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.1057, allocations: 1.011 MB / 335.9 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.1083, allocations: 0.592 MB / 336.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.1089, allocations: 244.7 kB / 336.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.109, allocations: 4.344 kB / 336.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006439/0.1096, allocations: 263.2 kB / 337 MB, free: 11.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.1096, allocations: 0 / 337 MB, free: 11.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001407/0.111, allocations: 0.5206 MB / 337.5 MB, free: 11.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.1112, allocations: 106.8 kB / 337.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1114, allocations: 233 kB / 337.8 MB, free: 10.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1115, allocations: 33.64 kB / 337.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1116, allocations: 156.2 kB / 338 MB, free: 10.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.1117, allocations: 78.98 kB / 338.1 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.1117, allocations: 0 / 338.1 MB, free: 10.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1119, allocations: 334.8 kB / 338.4 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.1123, allocations: 168.3 kB / 338.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.1128, allocations: 192.2 kB / 338.8 MB, free: 9.965 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.1133, allocations: 189.6 kB / 339 MB, free: 9.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1133, allocations: 0 / 339 MB, free: 9.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001004/0.1143, allocations: 454.7 kB / 339.4 MB, free: 9.316 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.1143, allocations: 37.69 kB / 339.5 MB, free: 9.273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1144, allocations: 4 kB / 339.5 MB, free: 9.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1144, allocations: 0 / 339.5 MB, free: 9.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.1161, allocations: 311.6 kB / 339.8 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004266/0.1203, allocations: 3.22 MB / 343 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.1207, allocations: 71.73 kB / 343 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.1208, allocations: 8 kB / 343.1 MB, free: 5.398 MB / 286.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.0001626/0.1209, allocations: 145.8 kB / 343.2 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.121, allocations: 19.75 kB / 343.2 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.83e-05/0.1211, allocations: 34.17 kB / 343.3 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1211, allocations: 0 / 343.3 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1211, allocations: 4 kB / 343.3 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1211, allocations: 0 / 343.3 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.1227, allocations: 0.9479 MB / 344.2 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1227, allocations: 0 / 344.2 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.1243, allocations: 307.8 kB / 344.5 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1243, allocations: 4 kB / 344.5 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.1243, allocations: 0 / 344.5 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004126/0.1284, allocations: 3.24 MB / 347.7 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1285, allocations: 0 / 347.7 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.1299, allocations: 0.6627 MB / 348.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.13, allocations: 108.7 kB / 348.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.1301, allocations: 8 kB / 348.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.1304, allocations: 52.02 kB / 348.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.1305, allocations: 27.95 kB / 348.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.1305, allocations: 8 kB / 348.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1307, allocations: 168.5 kB / 348.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1307, allocations: 0 / 348.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000464/0.1312, allocations: 79.84 kB / 348.9 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.0001309/0.1313, allocations: 115.2 kB / 349 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.1336, allocations: 0.6356 MB / 349.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1336, allocations: 0 / 349.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.1354, allocations: 451.7 kB / 350 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1358, allocations: 36.41 kB / 350.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.1374, allocations: 0.8423 MB / 350.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1378, allocations: 0.7524 MB / 351.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.1378, allocations: 19.44 kB / 351.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1378, allocations: 0 / 351.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Templates: time 0.007108/0.145, allocations: 5.373 MB / 357.1 MB, free: 6.93 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTestCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTestCalcHelperMain.o] Error 1