Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.0009291, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.0008921/0.0008921, allocations: 181.5 kB / 17.84 MB, free: 5.617 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.304/1.304, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1701/0.1701, allocations: 38.11 MB / 331.1 MB, free: 8.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 8 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 59.17 MB / 459.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005495/0.1169, allocations: 4.559 MB / 464.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.1205, allocations: 1.574 MB / 466 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.1211, allocations: 27.81 kB / 466 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.1215, allocations: 123.1 kB / 466.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009098/0.1224, allocations: 286.4 kB / 466.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.1228, allocations: 119.8 kB / 466.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.1235, allocations: 0.5526 MB / 467.1 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.1238, allocations: 97.81 kB / 467.2 MB, free: 84 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.124, allocations: 175.2 kB / 467.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.1244, allocations: 195.2 kB / 467.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.1244, allocations: 16 kB / 467.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.1245, allocations: 16 kB / 467.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1246, allocations: 91.64 kB / 467.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.1247, allocations: 89.52 kB / 467.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.125, allocations: 279.2 kB / 468 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.125, allocations: 0 / 468 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.125, allocations: 7.984 kB / 468 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.125, allocations: 0 / 468 MB, free: 15.22 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001013/0.126, allocations: 0.5969 MB / 468.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1261, allocations: 8.031 kB / 468.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.1262, allocations: 39.53 kB / 468.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.1268, allocations: 378.5 kB / 469.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1268, allocations: 20.56 kB / 469.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.1269, allocations: 27.95 kB / 469.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.1274, allocations: 330.2 kB / 469.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1274, allocations: 7.938 kB / 469.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.1275, allocations: 11.98 kB / 469.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1275, allocations: 8 kB / 469.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.1278, allocations: 201.5 kB / 469.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.1294, allocations: 1.486 MB / 471.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.1298, allocations: 194.3 kB / 471.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.13, allocations: 75.53 kB / 471.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.13, allocations: 8 kB / 471.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.1301, allocations: 38.5 kB / 471.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.813e-06/0.1301, allocations: 0 / 471.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001115/0.1312, allocations: 0.6815 MB / 472.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.1313, allocations: 132.5 kB / 472.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1316, allocations: 309.7 kB / 472.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1316, allocations: 33.7 kB / 472.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1318, allocations: 223.7 kB / 472.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.1318, allocations: 67 kB / 472.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.1318, allocations: 4 kB / 472.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.132, allocations: 350.9 kB / 473.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.1321, allocations: 43.98 kB / 473.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.1322, allocations: 152.8 kB / 473.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1324, allocations: 83.11 kB / 473.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1324, allocations: 4 kB / 473.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003544/0.1327, allocations: 244.9 kB / 473.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1328, allocations: 8.422 kB / 473.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1328, allocations: 15.94 kB / 473.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1328, allocations: 4 kB / 473.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.1332, allocations: 79.91 kB / 473.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008823/0.1341, allocations: 1.286 MB / 475.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1342, allocations: 8 kB / 475.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1342, allocations: 8 kB / 475.1 MB, free: 7.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.1344, allocations: 169.7 kB / 475.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.1345, allocations: 35.61 kB / 475.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.1348, allocations: 180.6 kB / 475.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1348, allocations: 4 kB / 475.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1348, allocations: 0 / 475.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1348, allocations: 3.984 kB / 475.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/0.1356, allocations: 0.5412 MB / 476.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1356, allocations: 0 / 476.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.1358, allocations: 47.95 kB / 476.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1358, allocations: 0 / 476.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1359, allocations: 11.98 kB / 476.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1359, allocations: 0 / 476.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1359, allocations: 4 kB / 476.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.1364, allocations: 0.4906 MB / 476.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.1364, allocations: 104.8 kB / 476.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.1365, allocations: 7.984 kB / 476.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1367, allocations: 4 kB / 476.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.1367, allocations: 15.98 kB / 476.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1367, allocations: 4 kB / 476.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.137, allocations: 223.2 kB / 477 MB, free: 5.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.137, allocations: 3.938 kB / 477 MB, free: 5.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.1374, allocations: 56 kB / 477 MB, free: 5.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.1375, allocations: 103.2 kB / 477.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.1378, allocations: 161.6 kB / 477.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1379, allocations: 4.875 kB / 477.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.138, allocations: 71.91 kB / 477.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.1387, allocations: 89.31 kB / 477.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1401, allocations: 1.042 MB / 478.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1405, allocations: 0.8031 MB / 479.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.1406, allocations: 27.44 kB / 479.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1406, allocations: 0 / 479.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of Templates: time 0.007184/0.1478, allocations: 4.681 MB / 484 MB, free: 14.51 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.o] Error 1