Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001342/0.001342, allocations: 95.25 kB / 16.96 MB, free: 6.461 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.001623/0.001623, allocations: 183.1 kB / 17.85 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 4 kB / 301.5 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 50.41 MB / 351.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003249/0.1158, allocations: 2.477 MB / 354.3 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.117, allocations: 0.7015 MB / 355 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1171, allocations: 4 kB / 355.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.1173, allocations: 35.69 kB / 355.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.1175, allocations: 83.31 kB / 355.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1177, allocations: 67.84 kB / 355.2 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.1181, allocations: 366.4 kB / 355.6 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.1184, allocations: 93.89 kB / 355.7 MB, free: 152 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1185, allocations: 119.5 kB / 355.8 MB, free: 32 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1188, allocations: 131.4 kB / 355.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.1188, allocations: 27.92 kB / 356 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.199e-05/0.1188, allocations: 16 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.1189, allocations: 51.77 kB / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.119, allocations: 85.52 kB / 356.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1193, allocations: 319.3 kB / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1193, allocations: 0 / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1193, allocations: 0 / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1193, allocations: 0 / 356.4 MB, free: 15.41 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009361/0.1203, allocations: 0.566 MB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1203, allocations: 12.03 kB / 357 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.1204, allocations: 39.56 kB / 357 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1208, allocations: 282.4 kB / 357.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1208, allocations: 16.56 kB / 357.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.1209, allocations: 24 kB / 357.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.1214, allocations: 284.5 kB / 357.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1214, allocations: 0 / 357.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1214, allocations: 12 kB / 357.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1214, allocations: 11.98 kB / 357.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.1219, allocations: 214 kB / 357.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.1237, allocations: 1.164 MB / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.1242, allocations: 215.2 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.1245, allocations: 149.1 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1245, allocations: 4.188 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.1249, allocations: 171.6 kB / 359.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/0.1249, allocations: 0 / 359.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001368/0.1263, allocations: 0.5227 MB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.1264, allocations: 132.5 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.1266, allocations: 241 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1267, allocations: 29.7 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1268, allocations: 180.3 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.1269, allocations: 63.09 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.1269, allocations: 4 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.127, allocations: 346.8 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1272, allocations: 67.97 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.1274, allocations: 129 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1276, allocations: 72.03 kB / 361.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1276, allocations: 4 kB / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004635/0.128, allocations: 290.1 kB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1281, allocations: 4 kB / 361.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.1281, allocations: 4.094 kB / 361.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.1284, allocations: 92.75 kB / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1286, allocations: 31.98 kB / 361.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.1307, allocations: 1.94 MB / 363.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1309, allocations: 31.92 kB / 363.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.1309, allocations: 12 kB / 363.7 MB, free: 7.648 MB / 302.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,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * 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 (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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.1311, allocations: 146.7 kB / 363.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.1311, allocations: 23.72 kB / 363.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.1312, allocations: 34.12 kB / 363.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1312, allocations: 4 kB / 363.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1312, allocations: 0 / 363.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1312, allocations: 4 kB / 363.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000925/0.1321, allocations: 0.7739 MB / 364.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1322, allocations: 0 / 364.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1323, allocations: 23.98 kB / 364.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.1325, allocations: 100.8 kB / 364.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1325, allocations: 3.984 kB / 364.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.1346, allocations: 1.932 MB / 366.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1346, allocations: 4.031 kB / 366.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.1352, allocations: 478 kB / 367.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1354, allocations: 116.8 kB / 367.3 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.1354, allocations: 8 kB / 367.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1356, allocations: 24.05 kB / 367.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1357, allocations: 35.94 kB / 367.4 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1357, allocations: 4 kB / 367.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.1359, allocations: 176.5 kB / 367.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1359, allocations: 96 / 367.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.1364, allocations: 99.62 kB / 367.7 MB, free: 3.438 MB / 302.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 (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 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.1365, allocations: 107.2 kB / 367.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.1372, allocations: 362.6 kB / 368.1 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1372, allocations: 0 / 368.1 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.1376, allocations: 262.8 kB / 368.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.1381, allocations: 59.59 kB / 368.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1393, allocations: 0.7509 MB / 369.2 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1397, allocations: 0.7677 MB / 370 MB, free: 1.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.1397, allocations: 23.44 kB / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1397, allocations: 4 kB / 370 MB, free: 1.035 MB / 302.1 MB Notification: Performance of Templates: time 0.2456/0.3853, allocations: 4.595 MB / 374.6 MB, free: 24.4 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuitCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuitCalcHelperMain.o] Error 1