Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0009561/0.0009562, 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1645/0.1645, allocations: 38.03 MB / 329.9 MB, free: 9.105 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 58.78 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1305, allocations: 58.06 MB / 456.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.007394/0.1379, allocations: 5.808 MB / 462.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.1413, allocations: 2.174 MB / 464.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.1417, allocations: 31.81 kB / 464.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.1423, allocations: 127.2 kB / 464.9 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000756/0.1431, allocations: 322.4 kB / 465.2 MB, free: 72 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1436, allocations: 195.6 kB / 465.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008424/0.1444, allocations: 0.8332 MB / 466.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.1448, allocations: 357.7 kB / 466.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.1452, allocations: 254.9 kB / 466.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.1455, allocations: 294.7 kB / 467.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.1456, allocations: 28 kB / 467.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1457, allocations: 75.98 kB / 467.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1459, allocations: 135.5 kB / 467.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.1461, allocations: 246.7 kB / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.1466, allocations: 0.5028 MB / 468.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1467, allocations: 4 kB / 468.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1467, allocations: 0 / 468.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1467, allocations: 0 / 468.1 MB, free: 13.17 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001497/0.1482, allocations: 0.8467 MB / 469 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1482, allocations: 8.031 kB / 469 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1483, allocations: 56.28 kB / 469 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/0.149, allocations: 470.2 kB / 469.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1491, allocations: 25 kB / 469.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.1491, allocations: 40 kB / 469.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.1498, allocations: 457.1 kB / 470 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1498, allocations: 3.938 kB / 470 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.1499, allocations: 16 kB / 470 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1499, allocations: 8 kB / 470 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.1503, allocations: 278.3 kB / 470.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1524, allocations: 1.866 MB / 472.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.1529, allocations: 247.7 kB / 472.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.153, allocations: 90.98 kB / 472.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1531, allocations: 7.938 kB / 472.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.1533, allocations: 181.6 kB / 472.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.1533, allocations: 0 / 472.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001637/0.155, allocations: 0.905 MB / 473.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.1551, allocations: 140.7 kB / 473.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.1555, allocations: 401.8 kB / 474.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1555, allocations: 29.7 kB / 474.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1557, allocations: 263.9 kB / 474.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.1558, allocations: 94.64 kB / 474.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1559, allocations: 73.61 kB / 474.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.156, allocations: 350.8 kB / 474.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1562, allocations: 83.92 kB / 475 MB, free: 5.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.1564, allocations: 216.1 kB / 475.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.1568, allocations: 319.9 kB / 475.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1568, allocations: 3.984 kB / 475.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007833/0.1576, allocations: 425.5 kB / 475.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1577, allocations: 4 kB / 475.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1577, allocations: 8 kB / 476 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.1581, allocations: 101.2 kB / 476.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.1583, allocations: 67.84 kB / 476.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.1605, allocations: 1.81 MB / 477.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.1608, allocations: 28.05 kB / 478 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1608, allocations: 12 kB / 478 MB, free: 2.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.161, allocations: 201.6 kB / 478.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.1611, allocations: 39.53 kB / 478.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005838/0.1617, allocations: 294 kB / 478.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1617, allocations: 7.984 kB / 478.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1617, allocations: 4 kB / 478.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1617, allocations: 7.922 kB / 478.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1628, allocations: 0.7688 MB / 479.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1628, allocations: 0 / 479.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.163, allocations: 43.98 kB / 479.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/0.1633, allocations: 56.73 kB / 479.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1633, allocations: 11.94 kB / 479.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.1645, allocations: 1.433 MB / 480.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1645, allocations: 3.938 kB / 480.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.1653, allocations: 0.4914 MB / 481.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1654, allocations: 136.6 kB / 481.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.1655, allocations: 7.938 kB / 481.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1657, allocations: 15.98 kB / 481.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.1658, allocations: 23.97 kB / 481.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1658, allocations: 4 kB / 481.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003003/0.1661, allocations: 287.1 kB / 481.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1661, allocations: 0 / 481.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.1666, allocations: 108 kB / 481.9 MB, free: 14.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008799/0.1675, allocations: 397.3 kB / 482.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008227/0.1683, allocations: 403.2 kB / 482.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1683, allocations: 0 / 482.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.1687, allocations: 242.5 kB / 482.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.1694, allocations: 125.7 kB / 483 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1713, allocations: 1.303 MB / 484.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1717, allocations: 0.8545 MB / 485.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1718, allocations: 47.36 kB / 485.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1718, allocations: 0 / 485.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01078/0.1826, allocations: 8.176 MB / 493.4 MB, free: 3.016 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_serCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_serCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_serCalcHelperMain.o] Error 1