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.001533/0.001533, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.002253/0.002253, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.913/1.913, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001252/0.001252, allocations: 52.3 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 46.62 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.006332/0.1506, allocations: 2.749 MB / 330 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1525, allocations: 0.7333 MB / 330.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1527, allocations: 4 kB / 330.7 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1529, allocations: 35.75 kB / 330.8 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.1531, allocations: 79.33 kB / 330.8 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.1536, allocations: 91.84 kB / 330.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.1541, allocations: 350.6 kB / 331.3 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.1544, allocations: 69.12 kB / 331.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.1548, allocations: 135.5 kB / 331.5 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.1551, allocations: 159.3 kB / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/0.1552, allocations: 20 kB / 331.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.021e-05/0.1553, allocations: 20 kB / 331.7 MB, free: 448 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.1556, allocations: 59.75 kB / 331.7 MB, free: 388 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1558, allocations: 143.2 kB / 331.9 MB, free: 244 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.1563, allocations: 267.7 kB / 332.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1563, allocations: 3.984 kB / 332.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1563, allocations: 0 / 332.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1563, allocations: 0 / 332.1 MB, free: 15.97 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.002449/0.1588, allocations: 0.6726 MB / 332.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.343e-05/0.1589, allocations: 8.031 kB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.159, allocations: 32.56 kB / 332.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.1595, allocations: 272.4 kB / 333.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.1596, allocations: 16.8 kB / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.1597, allocations: 24.38 kB / 333.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1608, allocations: 306 kB / 333.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1608, allocations: 0 / 333.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.1608, allocations: 16 kB / 333.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1609, allocations: 7.984 kB / 333.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009733/0.1618, allocations: 293.5 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.1638, allocations: 0.9685 MB / 334.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.1669, allocations: 498.2 kB / 335.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007028/0.1676, allocations: 216.7 kB / 335.4 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.1677, allocations: 0 / 335.4 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008047/0.1685, allocations: 237.7 kB / 335.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.1685, allocations: 4 kB / 335.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001589/0.1701, allocations: 465.4 kB / 336.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.1702, allocations: 110.8 kB / 336.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.1705, allocations: 233 kB / 336.5 MB, free: 11.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.1706, allocations: 29.7 kB / 336.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1707, allocations: 160.2 kB / 336.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.1708, allocations: 70.98 kB / 336.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1709, allocations: 45.94 kB / 336.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1711, allocations: 330.8 kB / 337.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.1716, allocations: 140.4 kB / 337.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.1721, allocations: 180.2 kB / 337.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.173, allocations: 324 kB / 337.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.173, allocations: 0 / 337.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001104/0.1741, allocations: 402.8 kB / 338.1 MB, free: 9.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.1742, allocations: 41.62 kB / 338.1 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1742, allocations: 0 / 338.1 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1743, allocations: 4 kB / 338.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.1761, allocations: 239.6 kB / 338.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/0.181, allocations: 3.107 MB / 341.5 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.1814, allocations: 55.67 kB / 341.5 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1815, allocations: 8 kB / 341.5 MB, free: 5.965 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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.1817, allocations: 145.6 kB / 341.7 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.1817, allocations: 27.81 kB / 341.7 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.1818, allocations: 26.19 kB / 341.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1818, allocations: 7.938 kB / 341.7 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1818, allocations: 3.984 kB / 341.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1818, allocations: 3.938 kB / 341.8 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.1836, allocations: 0.8932 MB / 342.6 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1837, allocations: 0 / 342.6 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.1854, allocations: 227.8 kB / 342.9 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/0.1855, allocations: 12 kB / 342.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.1855, allocations: 4 kB / 342.9 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004957/0.1905, allocations: 3.114 MB / 346 MB, free: 1.176 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1905, allocations: 0 / 346 MB, free: 1.176 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.1921, allocations: 0.5983 MB / 346.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1923, allocations: 108.8 kB / 346.7 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.1923, allocations: 4 kB / 346.7 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.1927, allocations: 35.95 kB / 346.7 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1928, allocations: 36.02 kB / 346.8 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1929, allocations: 4 kB / 346.8 MB, free: 360 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.1931, allocations: 172.5 kB / 347 MB, free: 184 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1931, allocations: 0 / 347 MB, free: 184 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.1936, allocations: 79.84 kB / 347 MB, free: 104 kB / 286.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/0.1938, allocations: 103.2 kB / 347.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.1966, allocations: 0.538 MB / 347.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1966, allocations: 0 / 347.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.1986, allocations: 347.8 kB / 348 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.1991, allocations: 41.5 kB / 348 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.2013, allocations: 0.8024 MB / 348.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.2018, allocations: 0.7524 MB / 349.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2019, allocations: 19.44 kB / 349.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2019, allocations: 0 / 349.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Templates: time 0.01005/0.212, allocations: 5.42 MB / 355 MB, free: 8 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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