Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.000985, 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.0009282/0.0009282, 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1696/0.1696, allocations: 38.04 MB / 329.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 61.67 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 58.06 MB / 456.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007713/0.121, allocations: 6.327 MB / 463.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.1247, allocations: 2.314 MB / 465.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/0.1253, allocations: 31.81 kB / 465.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.1259, allocations: 151.2 kB / 465.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008785/0.1268, allocations: 378.1 kB / 466 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.1274, allocations: 213.1 kB / 466.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.1284, allocations: 1.071 MB / 467.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.1289, allocations: 419 kB / 467.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.1293, allocations: 302.7 kB / 468 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.1298, allocations: 350.5 kB / 468.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/0.1299, allocations: 36 kB / 468.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.1301, allocations: 75.97 kB / 468.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1302, allocations: 167.4 kB / 468.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1305, allocations: 286.5 kB / 468.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.1311, allocations: 0.573 MB / 469.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1311, allocations: 0 / 469.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1311, allocations: 4 kB / 469.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1311, allocations: 0 / 469.4 MB, free: 11.86 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001615/0.1328, allocations: 0.8979 MB / 470.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1328, allocations: 8.031 kB / 470.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.133, allocations: 68.19 kB / 470.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/0.1337, allocations: 0.4903 MB / 470.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.1338, allocations: 37 kB / 470.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1339, allocations: 43.98 kB / 471 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.1347, allocations: 0.5173 MB / 471.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.1347, allocations: 0 / 471.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.1348, allocations: 20 kB / 471.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/0.1349, allocations: 16.98 kB / 471.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.1354, allocations: 347.6 kB / 471.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.138, allocations: 2.066 MB / 473.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.1384, allocations: 235.6 kB / 474.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.1386, allocations: 82.62 kB / 474.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.1386, allocations: 7.984 kB / 474.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.1389, allocations: 165.8 kB / 474.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.1389, allocations: 0 / 474.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001742/0.1407, allocations: 0.9196 MB / 475.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.1408, allocations: 132.5 kB / 475.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.1413, allocations: 425.9 kB / 475.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1413, allocations: 33.7 kB / 475.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.1416, allocations: 295.6 kB / 476.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.1416, allocations: 86.97 kB / 476.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1418, allocations: 82.09 kB / 476.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1419, allocations: 358.7 kB / 476.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1421, allocations: 84.83 kB / 476.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.1424, allocations: 221.8 kB / 477 MB, free: 3.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.1428, allocations: 325.7 kB / 477.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1428, allocations: 0 / 477.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008479/0.1437, allocations: 441.8 kB / 477.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1437, allocations: 12.05 kB / 477.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1437, allocations: 11.88 kB / 477.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.1441, allocations: 96.77 kB / 477.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.1444, allocations: 71.84 kB / 478 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.1464, allocations: 1.702 MB / 479.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.1467, allocations: 19.98 kB / 479.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.1467, allocations: 20 kB / 479.7 MB, free: 0.9062 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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0002489/0.147, allocations: 205.6 kB / 479.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.147, allocations: 51.44 kB / 479.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006308/0.1477, allocations: 278 kB / 480.2 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1477, allocations: 4 kB / 480.2 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1477, allocations: 4 kB / 480.2 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.1477, allocations: 3.984 kB / 480.2 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.1489, allocations: 0.7718 MB / 481 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1489, allocations: 3.984 kB / 481 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.1492, allocations: 47.98 kB / 481.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.1494, allocations: 56.7 kB / 481.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.1494, allocations: 8 kB / 481.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.1507, allocations: 1.437 MB / 482.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1507, allocations: 4 kB / 482.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.1515, allocations: 486 kB / 483 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1516, allocations: 128.6 kB / 483.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.1517, allocations: 8 kB / 483.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1519, allocations: 15.98 kB / 483.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.152, allocations: 23.91 kB / 483.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.152, allocations: 11.94 kB / 483.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003419/0.1523, allocations: 299.1 kB / 483.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1523, allocations: 4 kB / 483.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.1529, allocations: 112 kB / 483.6 MB, free: 12.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,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 (22): * Single equations (assignments): 20 * 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.0009483/0.1538, allocations: 401.2 kB / 484 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007784/0.1546, allocations: 394.7 kB / 484.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1546, allocations: 0 / 484.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.155, allocations: 234.6 kB / 484.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.1557, allocations: 122.5 kB / 484.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1578, allocations: 1.425 MB / 486.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.1583, allocations: 0.874 MB / 487 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.1584, allocations: 43.42 kB / 487.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1584, allocations: 0 / 487.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of Templates: time 0.01106/0.1694, allocations: 8.804 MB / 495.9 MB, free: 0.5352 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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_parCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.o] Error 1