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.001837/0.001837, allocations: 94.14 kB / 17.95 MB, free: 5.746 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.001739/0.00174, allocations: 173.2 kB / 18.85 MB, free: 4.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005906/0.0005908, allocations: 19.98 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1259, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004561/0.1305, allocations: 2.547 MB / 332.2 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1325, allocations: 0.7605 MB / 332.9 MB, free: 440 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.133, allocations: 4 kB / 332.9 MB, free: 436 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.1332, allocations: 39.62 kB / 333 MB, free: 396 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.1337, allocations: 87.3 kB / 333 MB, free: 308 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.1342, allocations: 91.92 kB / 333.1 MB, free: 216 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008171/0.135, allocations: 390.2 kB / 333.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1353, allocations: 107.9 kB / 333.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1355, allocations: 115.5 kB / 333.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1357, allocations: 143.2 kB / 333.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.1357, allocations: 16 kB / 333.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.17e-05/0.1358, allocations: 16 kB / 333.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1359, allocations: 51.77 kB / 333.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.136, allocations: 176.8 kB / 334.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.1364, allocations: 323.3 kB / 334.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1365, allocations: 8 kB / 334.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1365, allocations: 0 / 334.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1365, allocations: 0 / 334.4 MB, free: 14.88 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.001117/0.1376, allocations: 0.5701 MB / 335 MB, free: 14.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1377, allocations: 8.031 kB / 335 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.017e-05/0.1377, allocations: 32.56 kB / 335.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1381, allocations: 287.5 kB / 335.3 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1381, allocations: 20.94 kB / 335.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.1382, allocations: 24.38 kB / 335.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.1387, allocations: 296.9 kB / 335.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1388, allocations: 0 / 335.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.1388, allocations: 12 kB / 335.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1388, allocations: 4 kB / 335.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.1393, allocations: 214.1 kB / 335.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.1416, allocations: 1.16 MB / 337.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.1421, allocations: 226.6 kB / 337.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.1425, allocations: 144.8 kB / 337.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1425, allocations: 3.984 kB / 337.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.1429, allocations: 178.5 kB / 337.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.1429, allocations: 0 / 337.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001533/0.1444, allocations: 0.5264 MB / 338.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002259/0.1447, allocations: 132.5 kB / 338.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.145, allocations: 244.9 kB / 338.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.145, allocations: 29.7 kB / 338.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1452, allocations: 168.4 kB / 338.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.1453, allocations: 67.02 kB / 338.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.1453, allocations: 29.7 kB / 338.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.1456, allocations: 334.8 kB / 339.1 MB, free: 9.906 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.1459, allocations: 75.97 kB / 339.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.146, allocations: 125 kB / 339.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.1464, allocations: 175.3 kB / 339.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1464, allocations: 4 kB / 339.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000622/0.147, allocations: 298 kB / 339.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.147, allocations: 8 kB / 339.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1471, allocations: 4 kB / 339.8 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.1475, allocations: 88.75 kB / 339.9 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1476, allocations: 31.91 kB / 339.9 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.1501, allocations: 1.936 MB / 341.8 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1503, allocations: 39.77 kB / 341.9 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.1503, allocations: 12 kB / 341.9 MB, free: 6.949 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.000327/0.1507, allocations: 145.8 kB / 342 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.1507, allocations: 23.72 kB / 342 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-05/0.1508, allocations: 30.17 kB / 342.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.1508, allocations: 12 kB / 342.1 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1508, allocations: 0 / 342.1 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1509, allocations: 3.938 kB / 342.1 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1522, allocations: 0.7771 MB / 342.9 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1522, allocations: 0 / 342.9 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.1523, allocations: 28.06 kB / 342.9 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.1526, allocations: 92.73 kB / 343 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1526, allocations: 7.984 kB / 343 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.1551, allocations: 1.936 MB / 344.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1551, allocations: 0 / 344.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.1558, allocations: 464.9 kB / 345.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.156, allocations: 116.9 kB / 345.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1561, allocations: 11.94 kB / 345.5 MB, free: 3.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1563, allocations: 23.98 kB / 345.5 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1564, allocations: 39.89 kB / 345.6 MB, free: 3.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1564, allocations: 4 kB / 345.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1566, allocations: 172.5 kB / 345.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1566, allocations: 0 / 345.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.1571, allocations: 99.78 kB / 345.8 MB, free: 2.738 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.0001651/0.1573, allocations: 110.9 kB / 346 MB, free: 2.621 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007215/0.158, allocations: 350.4 kB / 346.3 MB, free: 2.266 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1581, allocations: 0 / 346.3 MB, free: 2.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.1585, allocations: 274.8 kB / 346.6 MB, free: 1.984 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.159, allocations: 56.33 kB / 346.6 MB, free: 1.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.1605, allocations: 0.7675 MB / 347.4 MB, free: 1.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.161, allocations: 0.7674 MB / 348.2 MB, free: 348 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.1611, allocations: 19.42 kB / 348.2 MB, free: 328 kB / 286.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1611, allocations: 0 / 348.2 MB, free: 328 kB / 286.1 MB Notification: Performance of Templates: time 0.008633/0.1697, allocations: 4.613 MB / 352.8 MB, free: 11.7 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