Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001094, allocations: 94.73 kB / 16.96 MB, free: 5.562 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.001363/0.001363, allocations: 187.6 kB / 17.85 MB, free: 5.234 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.583/1.583, allocations: 223.2 MB / 241.8 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 8 kB / 301.4 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004269/0.1358, allocations: 3.421 MB / 355.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.1386, allocations: 1.341 MB / 356.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.139, allocations: 7.938 kB / 356.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.1398, allocations: 219.2 kB / 356.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.1403, allocations: 222.6 kB / 357.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.1411, allocations: 218.8 kB / 357.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007192/0.1418, allocations: 0.6422 MB / 357.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.1421, allocations: 132.4 kB / 358.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.1424, allocations: 243 kB / 358.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1428, allocations: 262.9 kB / 358.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.1428, allocations: 24 kB / 358.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.143, allocations: 59.98 kB / 358.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1432, allocations: 119.5 kB / 358.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1433, allocations: 133.4 kB / 358.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.1439, allocations: 0.5027 MB / 359.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1439, allocations: 0 / 359.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1439, allocations: 0 / 359.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1439, allocations: 0 / 359.4 MB, free: 12.44 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001551/0.1455, allocations: 0.8596 MB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1455, allocations: 8.031 kB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1457, allocations: 75.11 kB / 360.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.1462, allocations: 386 kB / 360.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.1463, allocations: 32.94 kB / 360.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.1464, allocations: 36 kB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.1471, allocations: 441.6 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1471, allocations: 0 / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.1472, allocations: 16 kB / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1472, allocations: 12 kB / 361.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.1478, allocations: 319.7 kB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.1503, allocations: 1.722 MB / 363.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.151, allocations: 362.4 kB / 363.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.1514, allocations: 184.8 kB / 363.8 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.1514, allocations: 7.984 kB / 363.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.1519, allocations: 262.4 kB / 364.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.1519, allocations: 0 / 364.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002213/0.1541, allocations: 1.037 MB / 365.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.1542, allocations: 183.9 kB / 365.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.1549, allocations: 0.4901 MB / 365.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.1549, allocations: 37.7 kB / 365.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1552, allocations: 252.4 kB / 366 MB, free: 5.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1553, allocations: 118.3 kB / 366.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.1553, allocations: 8 kB / 366.2 MB, free: 5.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1555, allocations: 362.8 kB / 366.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.1557, allocations: 124.8 kB / 366.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.1561, allocations: 209.3 kB / 366.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.1563, allocations: 133.5 kB / 367 MB, free: 4.387 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1564, allocations: 0 / 367 MB, free: 4.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008473/0.1572, allocations: 473.1 kB / 367.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.1572, allocations: 11.98 kB / 367.5 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1573, allocations: 3.938 kB / 367.5 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/0.1578, allocations: 163.2 kB / 367.6 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.158, allocations: 55.91 kB / 367.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2589/0.4169, allocations: 5.929 MB / 373.6 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.4176, allocations: 59.17 kB / 373.7 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.4176, allocations: 20.94 kB / 373.7 MB, free: 21.8 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: 16 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003298/0.418, allocations: 189.5 kB / 373.9 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4181, allocations: 52.33 kB / 373.9 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.4182, allocations: 58.86 kB / 374 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4183, allocations: 7.625 kB / 374 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4183, allocations: 0 / 374 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4183, allocations: 3.344 kB / 374 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008134/0.4191, allocations: 498.4 kB / 374.5 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.4191, allocations: 0 / 374.5 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.4193, allocations: 28.61 kB / 374.5 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006039/0.4199, allocations: 159 kB / 374.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.4199, allocations: 6.859 kB / 374.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.4251, allocations: 5.796 MB / 380.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4252, allocations: 0 / 380.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.4264, allocations: 0.5119 MB / 381 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.4266, allocations: 158.1 kB / 381.1 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.4267, allocations: 7.484 kB / 381.1 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.4269, allocations: 36.84 kB / 381.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.4271, allocations: 56.44 kB / 381.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.4272, allocations: 9.234 kB / 381.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005256/0.4277, allocations: 358.4 kB / 381.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4277, allocations: 3.719 kB / 381.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008832/0.4286, allocations: 170.4 kB / 381.7 MB, free: 15.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.4297, allocations: 442.6 kB / 382.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.431, allocations: 0.7974 MB / 383 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.431, allocations: 4.062 kB / 383 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008861/0.4319, allocations: 0.6528 MB / 383.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007834/0.4327, allocations: 122.2 kB / 383.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.4352, allocations: 1.15 MB / 384.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.4357, allocations: 0.8613 MB / 385.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4358, allocations: 30.62 kB / 385.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4358, allocations: 4 kB / 385.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.0237/0.4595, allocations: 14.59 MB / 400.4 MB, free: 6.859 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.CharacteristicThyristorsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.o] Error 1