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.001131/0.001131, allocations: 93.5 kB / 17.96 MB, free: 5.418 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.001274/0.001274, allocations: 176.3 kB / 18.86 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 225 MB, free: 12.93 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.0005472/0.0005471, allocations: 16 kB / 282 MB, free: 3.379 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1323, allocations: 47.58 MB / 329.6 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005791/0.1382, allocations: 3.553 MB / 333.2 MB, free: 160 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.1416, allocations: 1.322 MB / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007411/0.1424, allocations: 7.938 kB / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1435, allocations: 219.2 kB / 334.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.1447, allocations: 238.6 kB / 334.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009986/0.1457, allocations: 235.5 kB / 335.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1471, allocations: 0.6851 MB / 335.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.1475, allocations: 145.7 kB / 336 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/0.1483, allocations: 239 kB / 336.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/0.1489, allocations: 266.8 kB / 336.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.1491, allocations: 24 kB / 336.5 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.1495, allocations: 75.91 kB / 336.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.1497, allocations: 111.5 kB / 336.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005092/0.1502, allocations: 300.1 kB / 337 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.151, allocations: 0.4986 MB / 337.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.151, allocations: 0 / 337.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.151, allocations: 0 / 337.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.186e-05/0.151, allocations: 0 / 337.5 MB, free: 11.8 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.002059/0.1531, allocations: 0.8519 MB / 338.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.448e-05/0.1532, allocations: 16.02 kB / 338.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.1534, allocations: 64.19 kB / 338.4 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.154, allocations: 406.8 kB / 338.8 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.1541, allocations: 29.38 kB / 338.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.1542, allocations: 44.12 kB / 338.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009157/0.1551, allocations: 437.6 kB / 339.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.1551, allocations: 7.938 kB / 339.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/0.1552, allocations: 19.98 kB / 339.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1552, allocations: 8 kB / 339.4 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006571/0.1559, allocations: 311.8 kB / 339.7 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.1584, allocations: 1.734 MB / 341.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.1592, allocations: 363.1 kB / 341.7 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.1595, allocations: 196 kB / 341.9 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.1596, allocations: 8 kB / 341.9 MB, free: 7.121 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004821/0.16, allocations: 262.4 kB / 342.2 MB, free: 6.836 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.523e-06/0.1601, allocations: 0 / 342.2 MB, free: 6.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002315/0.1624, allocations: 1.036 MB / 343.2 MB, free: 5.707 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.1625, allocations: 187.9 kB / 343.4 MB, free: 5.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.1632, allocations: 0.4902 MB / 343.9 MB, free: 4.973 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.1632, allocations: 37.7 kB / 344 MB, free: 4.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.1634, allocations: 252.4 kB / 344.2 MB, free: 4.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.1635, allocations: 126.2 kB / 344.3 MB, free: 4.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.1636, allocations: 37.7 kB / 344.4 MB, free: 4.512 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.1639, allocations: 362.8 kB / 344.7 MB, free: 4.148 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.1642, allocations: 124.8 kB / 344.8 MB, free: 4.023 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.1645, allocations: 213.3 kB / 345 MB, free: 3.781 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.165, allocations: 277.3 kB / 345.3 MB, free: 3.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.165, allocations: 0 / 345.3 MB, free: 3.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008488/0.1659, allocations: 484.7 kB / 345.8 MB, free: 3.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1659, allocations: 8 kB / 345.8 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.1659, allocations: 0 / 345.8 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.1665, allocations: 163.4 kB / 346 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.1667, allocations: 47.91 kB / 346 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/0.1718, allocations: 5.958 MB / 352 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.1722, allocations: 67.62 kB / 352 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.1723, allocations: 8 kB / 352 MB, free: 12.22 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 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002933/0.1726, allocations: 193.3 kB / 352.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.1727, allocations: 55.45 kB / 352.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.1728, allocations: 68.75 kB / 352.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1728, allocations: 4 kB / 352.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1728, allocations: 0 / 352.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1728, allocations: 0 / 352.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.1734, allocations: 493.1 kB / 352.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1735, allocations: 3.938 kB / 352.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.1736, allocations: 32.11 kB / 352.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.174, allocations: 163.2 kB / 353 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.1741, allocations: 4 kB / 353 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005423/0.1795, allocations: 5.8 MB / 358.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.1795, allocations: 3.938 kB / 358.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1806, allocations: 0.5072 MB / 359.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.1808, allocations: 160.4 kB / 359.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/0.1808, allocations: 8 kB / 359.5 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.1811, allocations: 39.97 kB / 359.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.1813, allocations: 55.86 kB / 359.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.1813, allocations: 11.98 kB / 359.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004341/0.1818, allocations: 359.1 kB / 360 MB, free: 3.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1818, allocations: 4 kB / 360 MB, free: 3.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008082/0.1826, allocations: 167.8 kB / 360.1 MB, free: 3.465 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.1838, allocations: 425.2 kB / 360.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.185, allocations: 0.8108 MB / 361.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1851, allocations: 0 / 361.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007862/0.1859, allocations: 0.6511 MB / 362 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.1865, allocations: 117.8 kB / 362.1 MB, free: 1.375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.1889, allocations: 1.217 MB / 363.3 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.1895, allocations: 0.8593 MB / 364.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1896, allocations: 35.44 kB / 364.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1896, allocations: 0 / 364.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of Templates: time 0.01996/0.2096, allocations: 14.57 MB / 378.8 MB, free: 0.6133 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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