Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001211, 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.001641/0.001641, 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.983/1.983, allocations: 205.1 MB / 224.6 MB, free: 12.39 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.001361/0.001361, allocations: 51.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1172, allocations: 46.63 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.005529/0.1227, allocations: 2.916 MB / 330.2 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1247, allocations: 0.776 MB / 330.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.1252, allocations: 4 kB / 330.9 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1255, allocations: 35.69 kB / 331 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.126, allocations: 87.31 kB / 331.1 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.1265, allocations: 87.92 kB / 331.1 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.1273, allocations: 386.2 kB / 331.5 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.1276, allocations: 111.9 kB / 331.6 MB, free: 484 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.128, allocations: 127.5 kB / 331.8 MB, free: 356 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.1284, allocations: 155.3 kB / 331.9 MB, free: 200 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.1285, allocations: 20 kB / 331.9 MB, free: 180 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1286, allocations: 20 kB / 331.9 MB, free: 160 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.1287, allocations: 59.75 kB / 332 MB, free: 100 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.129, allocations: 159.2 kB / 332.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1293, allocations: 327.4 kB / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1294, allocations: 4 kB / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1294, allocations: 0 / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.1294, allocations: 0 / 332.5 MB, free: 15.62 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001388/0.1308, allocations: 0.6207 MB / 333.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.1308, allocations: 12.03 kB / 333.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.131, allocations: 32.56 kB / 333.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.1315, allocations: 291.5 kB / 333.4 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.1315, allocations: 16.94 kB / 333.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.1316, allocations: 28.31 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.1322, allocations: 292.9 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1322, allocations: 4 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.1323, allocations: 12 kB / 333.8 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1323, allocations: 11.98 kB / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.1328, allocations: 202.1 kB / 334 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1348, allocations: 1.14 MB / 335.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.1353, allocations: 226.6 kB / 335.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.1356, allocations: 144.8 kB / 335.5 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1357, allocations: 4 kB / 335.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003934/0.1361, allocations: 174.7 kB / 335.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.1361, allocations: 0 / 335.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001439/0.1375, allocations: 0.5185 MB / 336.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.1376, allocations: 132.5 kB / 336.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1379, allocations: 244.9 kB / 336.6 MB, free: 11.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.138, allocations: 33.7 kB / 336.6 MB, free: 11.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1381, allocations: 164.4 kB / 336.7 MB, free: 11.06 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.1382, allocations: 67.02 kB / 336.8 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1383, allocations: 49.7 kB / 336.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1385, allocations: 334.8 kB / 337.2 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1386, allocations: 71.97 kB / 337.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.1388, allocations: 125 kB / 337.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.1391, allocations: 175.3 kB / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1392, allocations: 0 / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005417/0.1397, allocations: 290 kB / 337.8 MB, free: 9.914 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.1397, allocations: 8 kB / 337.8 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1398, allocations: 3.984 kB / 337.8 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/0.1401, allocations: 88.84 kB / 337.9 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1403, allocations: 35.91 kB / 338 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.1429, allocations: 1.944 MB / 339.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1431, allocations: 27.83 kB / 339.9 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.1432, allocations: 8 kB / 339.9 MB, free: 7.664 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.1434, allocations: 153.8 kB / 340.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1435, allocations: 23.72 kB / 340.1 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.1436, allocations: 34.17 kB / 340.2 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.1436, allocations: 7.938 kB / 340.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1436, allocations: 0 / 340.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1436, allocations: 0 / 340.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.1454, allocations: 0.7693 MB / 340.9 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.1455, allocations: 0 / 340.9 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1457, allocations: 24.03 kB / 341 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.1462, allocations: 100.7 kB / 341.1 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.1462, allocations: 7.938 kB / 341.1 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.1488, allocations: 1.928 MB / 343 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1489, allocations: 4.062 kB / 343 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.1496, allocations: 456.9 kB / 343.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.1498, allocations: 120.9 kB / 343.6 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/0.1499, allocations: 11.88 kB / 343.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.1502, allocations: 23.98 kB / 343.6 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1503, allocations: 31.95 kB / 343.6 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1504, allocations: 7.984 kB / 343.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.1506, allocations: 180.5 kB / 343.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1506, allocations: 0 / 343.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.1511, allocations: 91.78 kB / 343.9 MB, free: 3.465 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001744/0.1513, allocations: 103.2 kB / 344 MB, free: 3.352 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007642/0.152, allocations: 354.4 kB / 344.3 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.152, allocations: 0 / 344.3 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.1526, allocations: 262.4 kB / 344.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.1532, allocations: 56.91 kB / 344.7 MB, free: 2.668 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1546, allocations: 0.724 MB / 345.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.1552, allocations: 0.7752 MB / 346.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.1553, allocations: 23.53 kB / 346.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1553, allocations: 3.938 kB / 346.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of Templates: time 0.01107/0.1664, allocations: 4.63 MB / 350.8 MB, free: 12.45 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.IdealTriacCircuitCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuitCalcHelperMain.o] Error 1