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.0009748/0.0009748, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0009878/0.0009878, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1639/0.1639, allocations: 38.04 MB / 329.9 MB, free: 9.062 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 59.16 kB / 398.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1229, allocations: 58.06 MB / 456.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006819/0.1298, allocations: 5.435 MB / 462.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1322, allocations: 1.682 MB / 463.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.1325, allocations: 27.81 kB / 463.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1329, allocations: 87.42 kB / 464 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.1335, allocations: 234.7 kB / 464.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1338, allocations: 135.8 kB / 464.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007167/0.1345, allocations: 0.71 MB / 465.1 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.1349, allocations: 325.9 kB / 465.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.1352, allocations: 207.1 kB / 465.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.1355, allocations: 243 kB / 465.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.1356, allocations: 24 kB / 465.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.759e-05/0.1357, allocations: 32 kB / 465.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1358, allocations: 115.6 kB / 466 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.136, allocations: 211 kB / 466.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1363, allocations: 399.1 kB / 466.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1364, allocations: 0 / 466.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1364, allocations: 0 / 466.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1364, allocations: 0 / 466.6 MB, free: 14.64 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.001259/0.1376, allocations: 0.7147 MB / 467.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1377, allocations: 8.031 kB / 467.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.1378, allocations: 44.38 kB / 467.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.1383, allocations: 400 kB / 467.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.1384, allocations: 58.64 kB / 467.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.1385, allocations: 36 kB / 467.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.1392, allocations: 436 kB / 468.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1392, allocations: 0 / 468.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.1392, allocations: 20 kB / 468.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1392, allocations: 8 kB / 468.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.1397, allocations: 270 kB / 468.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.1418, allocations: 1.845 MB / 470.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.1421, allocations: 187.5 kB / 470.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1422, allocations: 70.61 kB / 470.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1423, allocations: 11.94 kB / 470.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1423, allocations: 34.56 kB / 470.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.1423, allocations: 0 / 470.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001297/0.1436, allocations: 0.7012 MB / 471.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.1437, allocations: 111.1 kB / 471.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.144, allocations: 312.5 kB / 471.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.144, allocations: 25.7 kB / 471.9 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1442, allocations: 243.6 kB / 472.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.1443, allocations: 70.94 kB / 472.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/0.1444, allocations: 73.86 kB / 472.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1445, allocations: 342.8 kB / 472.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1447, allocations: 76.61 kB / 472.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.1449, allocations: 193.5 kB / 472.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.1453, allocations: 290.5 kB / 473.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1453, allocations: 0 / 473.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005211/0.1458, allocations: 331.7 kB / 473.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.1459, allocations: 11.94 kB / 473.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1459, allocations: 7.984 kB / 473.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1459, allocations: 8 kB / 473.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.1462, allocations: 76.44 kB / 473.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.1462, allocations: 11.94 kB / 473.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.1464, allocations: 23.94 kB / 473.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1464, allocations: 12 kB / 473.6 MB, free: 7.129 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.0001758/0.1466, allocations: 177.8 kB / 473.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.1467, allocations: 35.56 kB / 473.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.1471, allocations: 195 kB / 474 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.1471, allocations: 4 kB / 474 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1471, allocations: 4 kB / 474 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1471, allocations: 3.984 kB / 474 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.1479, allocations: 0.6123 MB / 474.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.148, allocations: 11.92 kB / 474.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.1482, allocations: 35.98 kB / 474.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1482, allocations: 4 kB / 474.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.1482, allocations: 8 kB / 474.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1482, allocations: 7.969 kB / 474.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1483, allocations: 0 / 474.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.1488, allocations: 447.9 kB / 475.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.1489, allocations: 112.7 kB / 475.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.149, allocations: 4 kB / 475.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1491, allocations: 8 kB / 475.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1492, allocations: 15.92 kB / 475.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1492, allocations: 11.98 kB / 475.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.1494, allocations: 219 kB / 475.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.1494, allocations: 0 / 475.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.1498, allocations: 75.88 kB / 475.6 MB, free: 5.055 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.0001201/0.15, allocations: 103.2 kB / 475.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004001/0.1504, allocations: 195.7 kB / 475.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1504, allocations: 0 / 475.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1506, allocations: 75.38 kB / 475.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.1512, allocations: 92.31 kB / 476 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1529, allocations: 1.072 MB / 477.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1533, allocations: 0.8071 MB / 477.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.1534, allocations: 27.44 kB / 477.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1534, allocations: 0 / 477.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of Templates: time 0.006186/0.1595, allocations: 4.515 MB / 482.4 MB, free: 14.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