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.001194/0.001194, allocations: 94.38 kB / 17.96 MB, free: 5.766 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.00148/0.00148, allocations: 173.2 kB / 18.86 MB, free: 4.91 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.96/1.96, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005639/0.000564, allocations: 12 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 47.59 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004804/0.1323, allocations: 3.536 MB / 333.2 MB, free: 192 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1349, allocations: 0.9983 MB / 334.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.1355, allocations: 8 kB / 334.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.1358, allocations: 63.47 kB / 334.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.1362, allocations: 146.8 kB / 334.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.1369, allocations: 183.8 kB / 334.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007363/0.1376, allocations: 0.7082 MB / 335.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.1379, allocations: 149.7 kB / 335.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1383, allocations: 235 kB / 335.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1387, allocations: 290.7 kB / 335.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.1387, allocations: 32 kB / 336 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.1388, allocations: 32 kB / 336 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1389, allocations: 99.52 kB / 336.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.1392, allocations: 300.2 kB / 336.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.1398, allocations: 0.5959 MB / 337 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1398, allocations: 4 kB / 337 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1398, allocations: 0 / 337 MB, free: 12.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1399, allocations: 0 / 337 MB, free: 12.36 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.002531/0.1424, allocations: 0.9449 MB / 337.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1425, allocations: 8.031 kB / 337.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.1426, allocations: 56.28 kB / 338 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/0.1432, allocations: 402 kB / 338.4 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.1432, allocations: 29.38 kB / 338.4 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.1433, allocations: 40.12 kB / 338.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.1447, allocations: 0.5943 MB / 339 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1447, allocations: 4 kB / 339 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.1448, allocations: 12 kB / 339.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1448, allocations: 12 kB / 339.1 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.1466, allocations: 0.644 MB / 339.7 MB, free: 9.504 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.1503, allocations: 2.066 MB / 341.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.1542, allocations: 0.9205 MB / 342.7 MB, free: 6.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009876/0.1552, allocations: 405.3 kB / 343.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.1553, allocations: 4 kB / 343.1 MB, free: 6.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.1564, allocations: 447.3 kB / 343.5 MB, free: 5.555 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/0.1564, allocations: 3.938 kB / 343.5 MB, free: 5.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.01006/0.1665, allocations: 2.049 MB / 345.6 MB, free: 3.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.1666, allocations: 81.11 kB / 345.7 MB, free: 3.375 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.1673, allocations: 385.7 kB / 346 MB, free: 2.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/0.1673, allocations: 37.64 kB / 346.1 MB, free: 2.941 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.1676, allocations: 228.5 kB / 346.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.1678, allocations: 126.2 kB / 346.4 MB, free: 2.586 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.1678, allocations: 41.7 kB / 346.5 MB, free: 2.539 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.168, allocations: 350.8 kB / 346.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009008/0.1689, allocations: 304.6 kB / 347.1 MB, free: 1.887 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009172/0.1699, allocations: 361.8 kB / 347.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.1716, allocations: 0.611 MB / 348.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1716, allocations: 0 / 348.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004906/0.1765, allocations: 1.209 MB / 349.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.1766, allocations: 33.69 kB / 349.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1766, allocations: 4 kB / 349.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.1779, allocations: 416.5 kB / 349.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.1784, allocations: 95.86 kB / 349.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008319/0.1867, allocations: 3.498 MB / 353.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.1875, allocations: 103.7 kB / 353.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.1876, allocations: 20 kB / 353.4 MB, free: 11.38 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.0003024/0.1879, allocations: 171.1 kB / 353.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.1879, allocations: 43.53 kB / 353.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.1881, allocations: 56.31 kB / 353.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1881, allocations: 4 kB / 353.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1881, allocations: 0 / 353.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1881, allocations: 7.984 kB / 353.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007115/0.1888, allocations: 0.5833 MB / 354.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1888, allocations: 0 / 354.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.1893, allocations: 91.88 kB / 354.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.1904, allocations: 421.7 kB / 354.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.1905, allocations: 11.94 kB / 354.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007889/0.1984, allocations: 3.493 MB / 358.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1984, allocations: 0 / 358.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004762/0.2032, allocations: 1.406 MB / 359.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.2035, allocations: 176.5 kB / 359.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.2036, allocations: 11.94 kB / 359.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.2041, allocations: 87.92 kB / 360 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.2043, allocations: 43.94 kB / 360 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.2044, allocations: 15.98 kB / 360 MB, free: 4.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003364/0.2047, allocations: 271.2 kB / 360.3 MB, free: 4.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2047, allocations: 0 / 360.3 MB, free: 4.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007381/0.2055, allocations: 179.6 kB / 360.5 MB, free: 4.102 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.000228/0.2057, allocations: 111.2 kB / 360.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.2083, allocations: 0.9386 MB / 361.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2083, allocations: 4.062 kB / 361.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.2097, allocations: 0.5685 MB / 362.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.2102, allocations: 77.72 kB / 362.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.2134, allocations: 1.458 MB / 363.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.2138, allocations: 0.8274 MB / 364.5 MB, free: 20 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.214, allocations: 35.47 kB / 364.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.214, allocations: 3.938 kB / 364.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01294/0.2269, allocations: 9.264 MB / 373.8 MB, free: 6.707 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