Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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_pm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|loadInertia.flange_a.tau|loadInertia.w|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|loadInertia.flange_a.tau|loadInertia.w|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.001007/0.001007, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.44/1.44, allocations: 223.3 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1979/0.1979, allocations: 38.09 MB / 331.5 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 12 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 59.17 MB / 460.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.007103/0.1135, allocations: 5.683 MB / 466.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.1168, allocations: 1.811 MB / 468 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.1173, allocations: 35.75 kB / 468.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.1177, allocations: 99.34 kB / 468.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006966/0.1184, allocations: 298.5 kB / 468.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1187, allocations: 127.9 kB / 468.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000912/0.1197, allocations: 0.876 MB / 469.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.1201, allocations: 357.8 kB / 469.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.1205, allocations: 230.9 kB / 470 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.1209, allocations: 282.8 kB / 470.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.1209, allocations: 24 kB / 470.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.121, allocations: 24 kB / 470.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1211, allocations: 123.6 kB / 470.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.1214, allocations: 268.5 kB / 470.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.1218, allocations: 462.7 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1218, allocations: 0 / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1218, allocations: 0 / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1218, allocations: 0 / 471.2 MB, free: 12.36 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001243/0.1231, allocations: 0.6997 MB / 471.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1231, allocations: 8.031 kB / 471.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1232, allocations: 56.28 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.1239, allocations: 435.7 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.892e-05/0.124, allocations: 66.69 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.1241, allocations: 44 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.1249, allocations: 0.5047 MB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.125, allocations: 11.92 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.125, allocations: 16 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.125, allocations: 8 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006466/0.1257, allocations: 347.7 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.1281, allocations: 1.992 MB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.1286, allocations: 227.5 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.1288, allocations: 102.7 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1288, allocations: 0 / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1289, allocations: 38.56 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.1289, allocations: 0 / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001708/0.1306, allocations: 0.8646 MB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.1307, allocations: 106.8 kB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.131, allocations: 325.6 kB / 477 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.131, allocations: 29.7 kB / 477 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1312, allocations: 271.6 kB / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.1313, allocations: 82.89 kB / 477.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.1313, allocations: 33.77 kB / 477.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1315, allocations: 346.8 kB / 477.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1317, allocations: 87.91 kB / 477.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.132, allocations: 221.1 kB / 478.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.1333, allocations: 0.5739 MB / 478.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1333, allocations: 4 kB / 478.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008676/0.1342, allocations: 432.9 kB / 479.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1342, allocations: 8 kB / 479.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1343, allocations: 4 kB / 479.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.1346, allocations: 72.8 kB / 479.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1349, allocations: 76.09 kB / 479.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.1369, allocations: 1.749 MB / 481 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1371, allocations: 23.91 kB / 481 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1371, allocations: 12 kB / 481 MB, free: 1.848 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (35): * Single equations (assignments): 34 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002836/0.1374, allocations: 193.8 kB / 481.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.1375, allocations: 35.62 kB / 481.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.1376, allocations: 43.3 kB / 481.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1376, allocations: 4 kB / 481.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1376, allocations: 3.938 kB / 481.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1376, allocations: 0 / 481.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1388, allocations: 0.7873 MB / 482.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1388, allocations: 0 / 482.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.139, allocations: 51.91 kB / 482.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.328e-05/0.1391, allocations: 28.83 kB / 482.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.1392, allocations: 7.984 kB / 482.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.1402, allocations: 1.292 MB / 483.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1402, allocations: 0 / 483.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.1409, allocations: 0.5094 MB / 483.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1411, allocations: 120.7 kB / 484.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.1411, allocations: 7.938 kB / 484.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1413, allocations: 11.98 kB / 484.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.1414, allocations: 19.98 kB / 484.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1414, allocations: 7.984 kB / 484.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.1416, allocations: 231.2 kB / 484.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1417, allocations: 0 / 484.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005619/0.1422, allocations: 88 kB / 484.4 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * 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 (21): * 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: 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.1424, allocations: 103.2 kB / 484.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.1431, allocations: 378.1 kB / 484.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1431, allocations: 0 / 484.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.1435, allocations: 222.8 kB / 485.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007247/0.1442, allocations: 105.4 kB / 485.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.146, allocations: 1.22 MB / 486.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.1464, allocations: 0.8467 MB / 487.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.1465, allocations: 31.44 kB / 487.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1465, allocations: 0 / 487.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of Templates: time 0.009427/0.156, allocations: 6.824 MB / 494.1 MB, free: 4.363 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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.DCmotor_pmCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pmCalcHelperMain.o] Error 1