Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0008038/0.0008033, allocations: 92.55 kB / 17.58 MB, free: 5.805 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.000859/0.0008591, allocations: 180.5 kB / 18.48 MB, free: 5.254 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.799/1.799, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004646/0.0004647, allocations: 12 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 47.57 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004222/0.1142, allocations: 3.388 MB / 332.4 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1167, allocations: 1.283 MB / 333.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.117, allocations: 11.94 kB / 333.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.1177, allocations: 207.3 kB / 333.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.1182, allocations: 226.7 kB / 334.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.1189, allocations: 211.6 kB / 334.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006309/0.1195, allocations: 0.6422 MB / 334.9 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.1198, allocations: 136.3 kB / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.1201, allocations: 231.1 kB / 335.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.1205, allocations: 262.9 kB / 335.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.1206, allocations: 28 kB / 335.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1208, allocations: 67.91 kB / 335.6 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1209, allocations: 111.6 kB / 335.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1211, allocations: 129.4 kB / 335.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005009/0.1216, allocations: 0.4988 MB / 336.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1216, allocations: 0 / 336.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1216, allocations: 0 / 336.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1216, allocations: 0 / 336.4 MB, free: 12.63 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001396/0.123, allocations: 0.8635 MB / 337.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1231, allocations: 8.031 kB / 337.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1232, allocations: 67.19 kB / 337.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.1237, allocations: 393.8 kB / 337.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.1238, allocations: 40.94 kB / 337.7 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.1238, allocations: 36 kB / 337.8 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.1246, allocations: 437.5 kB / 338.2 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1246, allocations: 3.984 kB / 338.2 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.1246, allocations: 20 kB / 338.2 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.1247, allocations: 12 kB / 338.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.1252, allocations: 307.8 kB / 338.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.1277, allocations: 1.726 MB / 340.3 MB, free: 8.523 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.1284, allocations: 367.1 kB / 340.6 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.1287, allocations: 191.8 kB / 340.8 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.1288, allocations: 4 kB / 340.8 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/0.1293, allocations: 266.4 kB / 341.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.444e-06/0.1293, allocations: 0 / 341.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.00207/0.1314, allocations: 1.021 MB / 342.1 MB, free: 6.562 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1315, allocations: 191.9 kB / 342.3 MB, free: 6.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.1321, allocations: 497.9 kB / 342.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.1322, allocations: 37.69 kB / 342.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.1324, allocations: 256.4 kB / 343.1 MB, free: 5.531 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1325, allocations: 114.4 kB / 343.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.1325, allocations: 12 kB / 343.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1327, allocations: 362.7 kB / 343.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.133, allocations: 124.8 kB / 343.7 MB, free: 4.922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.1333, allocations: 213.2 kB / 343.9 MB, free: 4.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.1335, allocations: 133.9 kB / 344 MB, free: 4.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1336, allocations: 0 / 344 MB, free: 4.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007885/0.1343, allocations: 480.6 kB / 344.5 MB, free: 4.062 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1344, allocations: 12.09 kB / 344.5 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1344, allocations: 0 / 344.5 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004914/0.1349, allocations: 155.3 kB / 344.6 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.1351, allocations: 47.91 kB / 344.7 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005159/0.1403, allocations: 5.954 MB / 350.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.1408, allocations: 59.66 kB / 350.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.1408, allocations: 16.06 kB / 350.7 MB, free: 13.28 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.0003576/0.1412, allocations: 192 kB / 350.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.1413, allocations: 51.34 kB / 350.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.1414, allocations: 64.75 kB / 351 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1414, allocations: 4 kB / 351 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1414, allocations: 3.953 kB / 351 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1414, allocations: 3.984 kB / 351 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/0.142, allocations: 497.1 kB / 351.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.142, allocations: 4 kB / 351.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.1422, allocations: 27.98 kB / 351.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/0.1426, allocations: 155.4 kB / 351.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.1426, allocations: 12 kB / 351.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004653/0.1473, allocations: 5.788 MB / 357.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1473, allocations: 3.984 kB / 357.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1484, allocations: 0.5046 MB / 358 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.1486, allocations: 164.4 kB / 358.1 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.1486, allocations: 8 kB / 358.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.1489, allocations: 39.97 kB / 358.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.1491, allocations: 63.8 kB / 358.3 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.1491, allocations: 15.94 kB / 358.3 MB, free: 5.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004399/0.1496, allocations: 355.1 kB / 358.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1496, allocations: 0 / 358.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008467/0.1504, allocations: 171.7 kB / 358.8 MB, free: 4.531 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.001113/0.1515, allocations: 433.2 kB / 359.2 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.153, allocations: 0.7953 MB / 360 MB, free: 3.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.153, allocations: 4.062 kB / 360 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007458/0.1537, allocations: 0.6509 MB / 360.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.1544, allocations: 109.8 kB / 360.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.1567, allocations: 1.163 MB / 361.9 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.1572, allocations: 0.8631 MB / 362.8 MB, free: 380 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1573, allocations: 31.42 kB / 362.8 MB, free: 348 kB / 302.1 MB Notification: Performance of SimCode: time 2.325e-06/0.1574, allocations: 4 kB / 362.8 MB, free: 344 kB / 302.1 MB Notification: Performance of Templates: time 0.02277/0.1801, allocations: 14.57 MB / 377.4 MB, free: 1.734 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.o] Error 1