Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001097/0.001097, allocations: 194 kB / 18.72 MB, free: 4.762 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.969/1.969, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001202/0.001201, allocations: 47.86 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 46.62 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.006363/0.134, allocations: 3.937 MB / 331.2 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1364, allocations: 1.018 MB / 332.2 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.137, allocations: 4 kB / 332.2 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.1375, allocations: 63.52 kB / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005977/0.1381, allocations: 146.8 kB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.1387, allocations: 175.8 kB / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.1397, allocations: 0.7082 MB / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.1401, allocations: 149.7 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.1407, allocations: 247 kB / 333.7 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.1411, allocations: 306.7 kB / 334 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.1412, allocations: 40 kB / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.239e-05/0.1413, allocations: 36 kB / 334.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1414, allocations: 115.5 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.1417, allocations: 270.6 kB / 334.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.1423, allocations: 0.6118 MB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1423, allocations: 4 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1423, allocations: 0 / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1423, allocations: 0 / 335 MB, free: 13.05 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002723/0.145, allocations: 0.9836 MB / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.1451, allocations: 11.97 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1453, allocations: 56.28 kB / 336.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.1459, allocations: 394 kB / 336.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.146, allocations: 29.38 kB / 336.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.1461, allocations: 44.06 kB / 336.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.1475, allocations: 0.5591 MB / 337.1 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1475, allocations: 3.938 kB / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.1476, allocations: 12 kB / 337.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1476, allocations: 8 kB / 337.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.1493, allocations: 0.5777 MB / 337.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.1534, allocations: 2.023 MB / 339.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.1574, allocations: 0.791 MB / 340.5 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.1585, allocations: 365.3 kB / 340.9 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.1586, allocations: 4 kB / 340.9 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/0.1598, allocations: 403.4 kB / 341.3 MB, free: 6.578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 5.06e-06/0.1598, allocations: 3.984 kB / 341.3 MB, free: 6.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.01048/0.1703, allocations: 1.802 MB / 343.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.1704, allocations: 81.11 kB / 343.2 MB, free: 4.645 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.171, allocations: 381.7 kB / 343.5 MB, free: 4.258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.1711, allocations: 37.7 kB / 343.6 MB, free: 4.215 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.1713, allocations: 228.6 kB / 343.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1714, allocations: 126 kB / 343.9 MB, free: 3.859 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.1716, allocations: 70.06 kB / 344 MB, free: 3.781 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1718, allocations: 354.8 kB / 344.3 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008261/0.1726, allocations: 268.6 kB / 344.6 MB, free: 3.164 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/0.1734, allocations: 313.9 kB / 344.9 MB, free: 2.848 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.175, allocations: 0.5407 MB / 345.4 MB, free: 2.293 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.175, allocations: 0 / 345.4 MB, free: 2.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004773/0.1798, allocations: 1.06 MB / 346.5 MB, free: 1.219 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.1798, allocations: 33.7 kB / 346.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.1799, allocations: 0 / 346.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.1811, allocations: 400.5 kB / 346.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.1816, allocations: 79.92 kB / 347 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008053/0.1897, allocations: 3.307 MB / 350.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/0.1905, allocations: 83.66 kB / 350.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.1905, allocations: 16 kB / 350.4 MB, free: 13.17 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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.1908, allocations: 171.1 kB / 350.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.1909, allocations: 43.52 kB / 350.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1911, allocations: 56.31 kB / 350.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1911, allocations: 7.938 kB / 350.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1911, allocations: 3.938 kB / 350.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.1911, allocations: 4 kB / 350.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.1919, allocations: 0.5833 MB / 351.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.1919, allocations: 3.984 kB / 351.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.1923, allocations: 79.88 kB / 351.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.1935, allocations: 401.7 kB / 351.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.1936, allocations: 11.94 kB / 351.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008138/0.2017, allocations: 3.304 MB / 355.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2017, allocations: 3.938 kB / 355.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.2063, allocations: 1.25 MB / 356.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.2067, allocations: 176.5 kB / 356.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.2068, allocations: 8 kB / 356.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.2073, allocations: 67.92 kB / 356.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.2075, allocations: 43.94 kB / 356.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.2075, allocations: 15.98 kB / 356.6 MB, free: 6.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.2079, allocations: 271.2 kB / 356.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2079, allocations: 0 / 356.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006671/0.2086, allocations: 179.6 kB / 357.1 MB, free: 6.281 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,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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001821/0.2087, allocations: 107.2 kB / 357.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.2113, allocations: 0.8683 MB / 358 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.2113, allocations: 0 / 358 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.2129, allocations: 0.5373 MB / 358.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.2135, allocations: 73.7 kB / 358.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.217, allocations: 1.364 MB / 360 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.2175, allocations: 0.8313 MB / 360.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.2176, allocations: 27.44 kB / 360.9 MB, free: 2.375 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2176, allocations: 0 / 360.9 MB, free: 2.375 MB / 302.1 MB Notification: Performance of Templates: time 0.0171/0.2347, allocations: 9.337 MB / 370.2 MB, free: 9.031 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuitCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuitCalcHelperMain.o] Error 1