Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 88.28 kB / 17.3 MB, free: 5.574 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.001252/0.001252, allocations: 184.4 kB / 18.22 MB, free: 5.145 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.512/1.512, allocations: 223.2 MB / 242.2 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1825/0.1825, allocations: 38.1 MB / 331.5 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003296, allocations: 11.94 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 59.17 MB / 460.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007608/0.1475, allocations: 5.036 MB / 465.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.1503, allocations: 1.651 MB / 467.2 MB, free: 332 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/0.1507, allocations: 27.81 kB / 467.3 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1511, allocations: 99.36 kB / 467.4 MB, free: 204 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006102/0.1517, allocations: 238.9 kB / 467.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.1521, allocations: 119.8 kB / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000828/0.1529, allocations: 0.7202 MB / 468.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.1533, allocations: 301.6 kB / 468.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.1536, allocations: 199 kB / 468.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.1539, allocations: 215.1 kB / 469.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.154, allocations: 20 kB / 469.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.177e-05/0.1541, allocations: 20 kB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1542, allocations: 107.6 kB / 469.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1544, allocations: 228.6 kB / 469.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.1548, allocations: 387 kB / 469.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1548, allocations: 0 / 469.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1548, allocations: 0 / 469.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1548, allocations: 0 / 469.9 MB, free: 13.67 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001196/0.156, allocations: 0.6446 MB / 470.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1561, allocations: 11.97 kB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.1562, allocations: 48.38 kB / 470.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/0.1568, allocations: 395.9 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.1569, allocations: 62.69 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.157, allocations: 32 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.1577, allocations: 440 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1577, allocations: 4 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.1577, allocations: 16 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1578, allocations: 12 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.1583, allocations: 282 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.1605, allocations: 1.849 MB / 473.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1609, allocations: 183.5 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.161, allocations: 74.67 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1611, allocations: 4 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1611, allocations: 34.56 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.1611, allocations: 0 / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00134/0.1625, allocations: 0.7162 MB / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.1625, allocations: 111 kB / 474.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1629, allocations: 316.5 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1629, allocations: 29.7 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1631, allocations: 243.6 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.1631, allocations: 74.98 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.1632, allocations: 33.7 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1634, allocations: 338.8 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.1635, allocations: 76.61 kB / 475.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.1638, allocations: 197.5 kB / 476 MB, free: 7.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.1642, allocations: 302.1 kB / 476.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1643, allocations: 0 / 476.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000538/0.1648, allocations: 339.5 kB / 476.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1648, allocations: 8 kB / 476.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.1648, allocations: 4 kB / 476.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1649, allocations: 4.562 kB / 476.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.1652, allocations: 83.83 kB / 476.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1652, allocations: 11.94 kB / 476.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.1654, allocations: 19.94 kB / 476.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1654, allocations: 12 kB / 476.8 MB, free: 6.199 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.1656, allocations: 177.8 kB / 477 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.1656, allocations: 31.56 kB / 477 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.1661, allocations: 204.6 kB / 477.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1661, allocations: 4 kB / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1661, allocations: 0 / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1661, allocations: 3.984 kB / 477.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.167, allocations: 0.6182 MB / 477.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.167, allocations: 8.031 kB / 477.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.1672, allocations: 39.98 kB / 477.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1673, allocations: 3.938 kB / 477.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1673, allocations: 4 kB / 477.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1673, allocations: 0 / 477.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1673, allocations: 4 kB / 477.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.1679, allocations: 455.9 kB / 478.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.168, allocations: 108.7 kB / 478.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.168, allocations: 8 kB / 478.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1682, allocations: 8 kB / 478.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.1683, allocations: 19.92 kB / 478.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1683, allocations: 11.98 kB / 478.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.1685, allocations: 218.9 kB / 478.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1685, allocations: 0 / 478.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.1689, allocations: 72 kB / 478.8 MB, free: 4.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001319/0.1691, allocations: 99.25 kB / 478.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.1695, allocations: 199.7 kB / 479.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1695, allocations: 4 kB / 479.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1697, allocations: 77.09 kB / 479.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.1704, allocations: 100.4 kB / 479.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1721, allocations: 1.163 MB / 480.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.1725, allocations: 0.8148 MB / 481.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.1725, allocations: 31.44 kB / 481.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of SimCode: time 2.725e-06/0.1726, allocations: 0 / 481.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Templates: time 0.006788/0.1793, allocations: 4.461 MB / 485.7 MB, free: 13.12 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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 OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.o] Error 1