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.0009366/0.0009366, allocations: 83.38 kB / 17.58 MB, free: 5.758 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.001037/0.001037, allocations: 183.9 kB / 18.48 MB, free: 5.207 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.545/1.545, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004555/0.0004556, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002962/0.115, allocations: 2.455 MB / 331.4 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1162, allocations: 0.7296 MB / 332.2 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1164, allocations: 4 kB / 332.2 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1165, allocations: 35.69 kB / 332.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1167, allocations: 83.33 kB / 332.3 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1169, allocations: 67.84 kB / 332.4 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.1173, allocations: 374.3 kB / 332.7 MB, free: 328 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.1176, allocations: 97.78 kB / 332.8 MB, free: 232 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1177, allocations: 127.5 kB / 332.9 MB, free: 104 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.1179, allocations: 135.4 kB / 333.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.118, allocations: 16 kB / 333.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.118, allocations: 16 kB / 333.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.1181, allocations: 51.77 kB / 333.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.1182, allocations: 81.56 kB / 333.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.1185, allocations: 327.3 kB / 333.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1185, allocations: 0 / 333.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1185, allocations: 0 / 333.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1185, allocations: 0 / 333.6 MB, free: 15.48 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.0009511/0.1195, allocations: 0.5738 MB / 334.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1195, allocations: 11.97 kB / 334.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.1196, allocations: 35.62 kB / 334.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1199, allocations: 274.4 kB / 334.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.12, allocations: 24.52 kB / 334.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.12, allocations: 24 kB / 334.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.1205, allocations: 296.5 kB / 334.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1206, allocations: 0 / 334.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1206, allocations: 8 kB / 334.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.1206, allocations: 8 kB / 334.8 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.121, allocations: 202.2 kB / 335 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.1226, allocations: 1.16 MB / 336.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.1231, allocations: 227.1 kB / 336.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.1234, allocations: 149.2 kB / 336.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1235, allocations: 4.188 kB / 336.5 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.1238, allocations: 168.6 kB / 336.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.1238, allocations: 7.938 kB / 336.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001274/0.1251, allocations: 0.5111 MB / 337.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.1252, allocations: 140.5 kB / 337.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1255, allocations: 241 kB / 337.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1255, allocations: 29.7 kB / 337.6 MB, free: 11.13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1256, allocations: 172.4 kB / 337.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.1257, allocations: 67.02 kB / 337.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.1257, allocations: 4 kB / 337.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1258, allocations: 334.8 kB / 338.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.126, allocations: 75.91 kB / 338.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.1262, allocations: 125.1 kB / 338.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1263, allocations: 72 kB / 338.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1263, allocations: 0 / 338.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004841/0.1268, allocations: 298 kB / 338.7 MB, free: 9.965 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1269, allocations: 7.953 kB / 338.7 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1269, allocations: 3.984 kB / 338.7 MB, free: 9.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.1272, allocations: 88.81 kB / 338.8 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1274, allocations: 36.02 kB / 338.9 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.1294, allocations: 1.936 MB / 340.8 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.1297, allocations: 31.86 kB / 340.8 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.1297, allocations: 11.98 kB / 340.8 MB, free: 7.715 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,$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.0001669/0.1299, allocations: 157.8 kB / 341 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1299, allocations: 27.7 kB / 341 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.095e-05/0.13, allocations: 30.17 kB / 341.1 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.13, allocations: 4 kB / 341.1 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.13, allocations: 3.938 kB / 341.1 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.13, allocations: 0 / 341.1 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/0.131, allocations: 0.7809 MB / 341.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.131, allocations: 4 kB / 341.8 MB, free: 6.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1311, allocations: 19.98 kB / 341.9 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.1314, allocations: 88.86 kB / 341.9 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.1314, allocations: 7.984 kB / 342 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.1334, allocations: 1.936 MB / 343.9 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1334, allocations: 0 / 343.9 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/0.134, allocations: 452.8 kB / 344.3 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1341, allocations: 116.8 kB / 344.5 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.1341, allocations: 15.94 kB / 344.5 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1343, allocations: 19.98 kB / 344.5 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.1344, allocations: 35.89 kB / 344.5 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1344, allocations: 11.98 kB / 344.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1346, allocations: 176.5 kB / 344.7 MB, free: 3.602 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1346, allocations: 0 / 344.7 MB, free: 3.602 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004713/0.1351, allocations: 95.8 kB / 344.8 MB, free: 3.508 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 (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.0001442/0.1352, allocations: 107.2 kB / 344.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.1359, allocations: 350.6 kB / 345.2 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1359, allocations: 3.938 kB / 345.2 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.1363, allocations: 262.4 kB / 345.5 MB, free: 2.762 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.1367, allocations: 64.91 kB / 345.6 MB, free: 2.699 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1379, allocations: 0.7497 MB / 346.3 MB, free: 1.918 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1382, allocations: 0.7674 MB / 347.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.1383, allocations: 19.42 kB / 347.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1383, allocations: 3.938 kB / 347.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of Templates: time 0.006752/0.145, allocations: 4.618 MB / 351.7 MB, free: 12.48 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++ 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_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