Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008502/0.0008505, allocations: 89.64 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009152/0.0009152, allocations: 196.3 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 8 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 51.49 MB / 358.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.006146/0.1644, allocations: 3.519 MB / 362.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.1677, allocations: 1.001 MB / 363.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.1681, allocations: 4 kB / 363.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.1684, allocations: 67.5 kB / 363.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.1689, allocations: 154.7 kB / 363.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006967/0.1696, allocations: 131.8 kB / 363.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.171, allocations: 0.7119 MB / 364.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007566/0.1718, allocations: 139.8 kB / 364.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.1724, allocations: 251.1 kB / 364.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.1729, allocations: 306.7 kB / 365.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-05/0.173, allocations: 36 kB / 365.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1731, allocations: 36 kB / 365.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1733, allocations: 107.6 kB / 365.2 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.1735, allocations: 125.4 kB / 365.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007672/0.1743, allocations: 0.6467 MB / 366 MB, free: 6.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.1743, allocations: 0 / 366 MB, free: 6.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.1743, allocations: 0 / 366 MB, free: 6.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.1743, allocations: 0 / 366 MB, free: 6.852 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002853/0.1772, allocations: 0.9948 MB / 367 MB, free: 5.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.959e-05/0.1773, allocations: 16.03 kB / 367 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.1776, allocations: 67.33 kB / 367.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.1783, allocations: 397 kB / 367.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.1784, allocations: 32.95 kB / 367.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1785, allocations: 43.89 kB / 367.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.1802, allocations: 0.6341 MB / 368.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1803, allocations: 0 / 368.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/0.1803, allocations: 12 kB / 368.2 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.1804, allocations: 8 kB / 368.2 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.1824, allocations: 0.7104 MB / 368.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.1867, allocations: 2.2 MB / 371.1 MB, free: 1.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.1906, allocations: 0.9922 MB / 372.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.1918, allocations: 440.6 kB / 372.5 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.107e-05/0.1919, allocations: 4.328 kB / 372.5 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2965/0.4884, allocations: 463.4 kB / 373 MB, free: 19.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.867e-06/0.4885, allocations: 0 / 373 MB, free: 19.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.01501/0.5035, allocations: 2.638 MB / 375.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.5036, allocations: 84.05 kB / 375.7 MB, free: 19.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.5043, allocations: 406.7 kB / 376.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/0.5043, allocations: 33.33 kB / 376.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.5046, allocations: 229.5 kB / 376.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.5048, allocations: 138.1 kB / 376.5 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.5048, allocations: 8.312 kB / 376.5 MB, free: 19.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.505, allocations: 353.6 kB / 376.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.506, allocations: 335 kB / 377.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009985/0.507, allocations: 380.6 kB / 377.5 MB, free: 18.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.508, allocations: 348.9 kB / 377.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.508, allocations: 1.375 kB / 377.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002804/0.5108, allocations: 0.9677 MB / 378.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.5108, allocations: 36.11 kB / 378.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5109, allocations: 2.406 kB / 378.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.5121, allocations: 423.8 kB / 379.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.5127, allocations: 108.7 kB / 379.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009014/0.5217, allocations: 3.499 MB / 382.9 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008556/0.5226, allocations: 110.7 kB / 383 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.5226, allocations: 19.41 kB / 383 MB, free: 16.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,$PRE.trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.523, allocations: 170.6 kB / 383.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.5231, allocations: 46.67 kB / 383.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.5232, allocations: 57.52 kB / 383.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5232, allocations: 12.16 kB / 383.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5232, allocations: 0 / 383.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.5232, allocations: 1.922 kB / 383.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.5241, allocations: 0.6081 MB / 383.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5241, allocations: 1.859 kB / 383.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.5246, allocations: 99.81 kB / 384 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.5258, allocations: 418.9 kB / 384.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.5259, allocations: 9.375 kB / 384.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00861/0.5345, allocations: 3.487 MB / 387.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5346, allocations: 1.125 kB / 387.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005913/0.5405, allocations: 1.656 MB / 389.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.5409, allocations: 177.7 kB / 389.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.5409, allocations: 8.125 kB / 389.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.5415, allocations: 100.2 kB / 389.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.5417, allocations: 55.22 kB / 389.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.5418, allocations: 10.91 kB / 389.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.5421, allocations: 290.7 kB / 390.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.5421, allocations: 0 / 390.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000785/0.5429, allocations: 173.4 kB / 390.4 MB, free: 12.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001927/0.5431, allocations: 110.4 kB / 390.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.5457, allocations: 1 MB / 391.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5457, allocations: 1.375 kB / 391.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.5472, allocations: 0.6034 MB / 392.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.5477, allocations: 84.95 kB / 392.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.5508, allocations: 1.452 MB / 393.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.5511, allocations: 0.8352 MB / 394.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.5513, allocations: 32.2 kB / 394.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5513, allocations: 0 / 394.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of Templates: time 0.01142/0.5627, allocations: 9.813 MB / 404.3 MB, free: 0.8594 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuitCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuitCalcHelperMain.o] Error 1