Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 95.62 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.638/1.638, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002651, allocations: 12 kB / 307.3 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 51.48 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00362/0.1331, allocations: 2.506 MB / 361.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1346, allocations: 0.7366 MB / 362 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1348, allocations: 4 kB / 362 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.135, allocations: 35.69 kB / 362.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.1353, allocations: 87.25 kB / 362.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.1357, allocations: 71.92 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.1361, allocations: 366.4 kB / 362.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.1363, allocations: 97.83 kB / 362.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.1366, allocations: 135.5 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1368, allocations: 131.4 kB / 362.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.1369, allocations: 16 kB / 363 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.1369, allocations: 20 kB / 363 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.137, allocations: 51.77 kB / 363 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.359e-05/0.1371, allocations: 77.58 kB / 363.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1375, allocations: 331.3 kB / 363.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1375, allocations: 3.938 kB / 363.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1375, allocations: 0 / 363.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1375, allocations: 0 / 363.4 MB, free: 9.445 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.001091/0.1386, allocations: 0.5777 MB / 364 MB, free: 8.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1387, allocations: 12.03 kB / 364 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.1389, allocations: 47.61 kB / 364.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.1392, allocations: 266.5 kB / 364.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.1392, allocations: 20.56 kB / 364.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.1393, allocations: 31.94 kB / 364.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.1399, allocations: 284.5 kB / 364.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1399, allocations: 4 kB / 364.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.1399, allocations: 12 kB / 364.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.1399, allocations: 4 kB / 364.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.1403, allocations: 210.1 kB / 364.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.1422, allocations: 1.164 MB / 366 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.1427, allocations: 214.3 kB / 366.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1431, allocations: 149.1 kB / 366.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1431, allocations: 8.141 kB / 366.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.1434, allocations: 176.6 kB / 366.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.1434, allocations: 0 / 366.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001441/0.1449, allocations: 0.5262 MB / 367.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.145, allocations: 132.5 kB / 367.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1453, allocations: 237 kB / 367.5 MB, free: 5.129 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1453, allocations: 33.7 kB / 367.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.1455, allocations: 172.4 kB / 367.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.1455, allocations: 67.09 kB / 367.7 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.1456, allocations: 11.94 kB / 367.7 MB, free: 4.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003091/0.1459, allocations: 330.8 kB / 368.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.146, allocations: 71.97 kB / 368.1 MB, free: 4.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.1462, allocations: 125.1 kB / 368.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1464, allocations: 81.03 kB / 368.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1464, allocations: 0 / 368.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005082/0.147, allocations: 298.8 kB / 368.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.147, allocations: 4 kB / 368.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.147, allocations: 7.953 kB / 368.6 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/0.1474, allocations: 88.78 kB / 368.7 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1475, allocations: 31.92 kB / 368.8 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.1501, allocations: 1.944 MB / 370.7 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.1503, allocations: 35.86 kB / 370.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1504, allocations: 8 kB / 370.7 MB, free: 1.66 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.0002043/0.1506, allocations: 149.7 kB / 370.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.1506, allocations: 23.72 kB / 370.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/0.1507, allocations: 38.23 kB / 371 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1507, allocations: 0 / 371 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1507, allocations: 0 / 371 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1507, allocations: 4 kB / 371 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/0.1517, allocations: 0.7724 MB / 371.7 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1517, allocations: 4.031 kB / 371.7 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.1519, allocations: 23.98 kB / 371.8 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.1521, allocations: 84.8 kB / 371.8 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1522, allocations: 4 kB / 371.8 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2732/0.4254, allocations: 1.932 MB / 373.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4254, allocations: 0 / 373.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.4262, allocations: 466.9 kB / 374.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.4263, allocations: 118 kB / 374.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.4264, allocations: 10.55 kB / 374.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.4266, allocations: 23.42 kB / 374.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.4267, allocations: 38.3 kB / 374.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.4268, allocations: 6.312 kB / 374.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.427, allocations: 177.2 kB / 374.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.427, allocations: 0 / 374.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.4275, allocations: 97.69 kB / 374.7 MB, free: 17.97 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.0001528/0.4277, allocations: 111 kB / 374.8 MB, free: 17.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007836/0.4285, allocations: 350.3 kB / 375.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4285, allocations: 1.406 kB / 375.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.4289, allocations: 268.4 kB / 375.4 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.4294, allocations: 54.09 kB / 375.5 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4307, allocations: 0.75 MB / 376.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.431, allocations: 0.7639 MB / 377 MB, free: 16.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.4311, allocations: 20.23 kB / 377 MB, free: 16.55 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4311, allocations: 0.5 kB / 377 MB, free: 16.55 MB / 302.1 MB Notification: Performance of Templates: time 0.009052/0.4401, allocations: 4.621 MB / 381.6 MB, free: 16.25 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuitCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuitCalcHelperMain.o] Error 1